You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
314 B
13 lines
314 B
# frozen_string_literal: true |
|
|
|
require 'rails_helper' |
|
|
|
RSpec.describe 'Privacy policy page' do |
|
it 'visits the privacy policy page and renders the web app' do |
|
visit privacy_policy_path |
|
|
|
expect(page) |
|
.to have_css('noscript', text: /Mastodon/) |
|
.and have_css('body', class: 'app-body') |
|
end |
|
end
|
|
|