mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-02-07 07:22:49 -05:00
Add system spec for TOS page (#33243)
This commit is contained in:
parent
2a369a8977
commit
c72083ad68
13
spec/system/terms_of_service_spec.rb
Normal file
13
spec/system/terms_of_service_spec.rb
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
require 'rails_helper'
|
||||||
|
|
||||||
|
RSpec.describe 'Terms of Service page' do
|
||||||
|
it 'visits the about page and renders the web app' do
|
||||||
|
visit terms_of_service_path
|
||||||
|
|
||||||
|
expect(page)
|
||||||
|
.to have_css('noscript', text: /Mastodon/)
|
||||||
|
.and have_css('body', class: 'app-body')
|
||||||
|
end
|
||||||
|
end
|
Loading…
x
Reference in New Issue
Block a user