Fixes website not loading for unlogged users (#27698)
This commit is contained in:
parent
3bf2a7296e
commit
6712bf86cd
2 changed files with 30 additions and 11 deletions
17
spec/system/unlogged_spec.rb
Normal file
17
spec/system/unlogged_spec.rb
Normal file
|
@ -0,0 +1,17 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require 'rails_helper'
|
||||
|
||||
describe 'UnloggedBrowsing' do
|
||||
subject { page }
|
||||
|
||||
before do
|
||||
visit root_path
|
||||
end
|
||||
|
||||
it 'loads the home page' do
|
||||
expect(subject).to have_css('div.app-holder')
|
||||
|
||||
expect(subject).to have_css('div.columns-area__panels__main')
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue