diff options
Diffstat (limited to 'spec/views/layouts/application.html.haml_spec.rb')
-rw-r--r-- | spec/views/layouts/application.html.haml_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/spec/views/layouts/application.html.haml_spec.rb b/spec/views/layouts/application.html.haml_spec.rb index 30c27078ad8..527ba1498b9 100644 --- a/spec/views/layouts/application.html.haml_spec.rb +++ b/spec/views/layouts/application.html.haml_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' -RSpec.describe 'layouts/application', :themed_layout do +RSpec.describe 'layouts/application' do let(:user) { create(:user) } before do @@ -14,6 +14,8 @@ RSpec.describe 'layouts/application', :themed_layout do allow(view).to receive(:current_user_mode).and_return(Gitlab::Auth::CurrentUserMode.new(user)) end + it_behaves_like 'a layout which reflects the application theme setting' + describe "visual review toolbar" do context "ENV['REVIEW_APPS_ENABLED'] is set to true" do before do |