Fixes website not loading for unlogged users (#27698)
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user