privacy_spec.rb 314 B

12345678910111213
  1. # frozen_string_literal: true
  2. require 'rails_helper'
  3. RSpec.describe 'Privacy policy page' do
  4. it 'visits the privacy policy page and renders the web app' do
  5. visit privacy_policy_path
  6. expect(page)
  7. .to have_css('noscript', text: /Mastodon/)
  8. .and have_css('body', class: 'app-body')
  9. end
  10. end