mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-29 14:35:06 +01:00
14 lines
314 B
Ruby
14 lines
314 B
Ruby
# 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
|