2019-10-12 21:52:04 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2020-03-13 15:44:24 +05:30
|
|
|
RSpec.shared_examples 'issue sidebar stays collapsed on mobile' do
|
2017-09-10 17:25:29 +05:30
|
|
|
before do
|
|
|
|
resize_screen_xs
|
|
|
|
end
|
|
|
|
|
|
|
|
it 'keeps the sidebar collapsed' do
|
|
|
|
expect(page).not_to have_css('.right-sidebar.right-sidebar-collapsed')
|
|
|
|
end
|
|
|
|
end
|