Add system spec for TOS page (#33243)

pull/33248/head
Matt Jankowski 3 months ago committed by GitHub
parent 2a369a8977
commit c72083ad68
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save