diff options
Diffstat (limited to 'spec/helpers')
-rw-r--r-- | spec/helpers/preferences_helper_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/helpers/preferences_helper_spec.rb b/spec/helpers/preferences_helper_spec.rb index d85773306ab..69f0e8e2f9e 100644 --- a/spec/helpers/preferences_helper_spec.rb +++ b/spec/helpers/preferences_helper_spec.rb @@ -37,9 +37,9 @@ describe PreferencesHelper do it 'returns the default when id is invalid' do stub_user(theme_id: Gitlab::Themes.count + 5) - allow(Gitlab.config.gitlab).to receive(:default_theme).and_return(2) + allow(Gitlab.config.gitlab).to receive(:default_theme).and_return(1) - expect(helper.user_application_theme).to eq 'ui_dark' + expect(helper.user_application_theme).to eq 'ui_indigo' end end |