Move body class to shared partial for web app controller concern views (#31797)
This commit is contained in:
parent
34d7c9edae
commit
297ce9ef44
6 changed files with 6 additions and 5 deletions
|
@ -11,6 +11,7 @@ RSpec.describe 'Home page' do
|
|||
|
||||
expect(page)
|
||||
.to have_css('noscript', text: /Mastodon/)
|
||||
.and have_css('body', class: 'app-body')
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -20,6 +21,7 @@ RSpec.describe 'Home page' do
|
|||
|
||||
expect(page)
|
||||
.to have_css('noscript', text: /Mastodon/)
|
||||
.and have_css('body', class: 'app-body')
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue