1
0

about_spec.rb 287 B

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