diff options
Diffstat (limited to 'spec/views/shared/_global_alert.html.haml_spec.rb')
-rw-r--r-- | spec/views/shared/_global_alert.html.haml_spec.rb | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/spec/views/shared/_global_alert.html.haml_spec.rb b/spec/views/shared/_global_alert.html.haml_spec.rb index 7eec068645a..84198cbb75e 100644 --- a/spec/views/shared/_global_alert.html.haml_spec.rb +++ b/spec/views/shared/_global_alert.html.haml_spec.rb @@ -49,12 +49,6 @@ RSpec.describe 'shared/_global_alert.html.haml' do allow(view).to receive(:fluid_layout).and_return(false) end - it 'does not add layout limited class' do - render - - expect(rendered).not_to have_selector('.gl-alert-layout-limited') - end - it 'adds container classes' do render @@ -74,10 +68,6 @@ RSpec.describe 'shared/_global_alert.html.haml' do render end - it 'adds layout limited class' do - expect(rendered).to have_selector('.gl-alert-layout-limited') - end - it 'does not add container classes' do expect(rendered).not_to have_selector('.container-fluid.container-limited') end |