Convert "static page" controller specs to system specs (#31599)
This commit is contained in:
parent
963c1309a4
commit
4c2534d12e
6 changed files with 49 additions and 61 deletions
12
spec/system/about_spec.rb
Normal file
12
spec/system/about_spec.rb
Normal file
|
@ -0,0 +1,12 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require 'rails_helper'
|
||||
|
||||
describe 'About page' do
|
||||
it 'visits the about page and renders the web app' do
|
||||
visit about_path
|
||||
|
||||
expect(page)
|
||||
.to have_css('noscript', text: /Mastodon/)
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue