diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-09-06 18:09:54 +0300 |
---|---|---|
committer | Ruben Davila <rdavila84@gmail.com> | 2017-09-06 20:57:30 +0300 |
commit | 7b567597eef25ca3af8af63a71bcc4dfefc2a694 (patch) | |
tree | 6b2fe901187399ff9e49e1c2fe3ea296fd3f18e9 /spec | |
parent | 1245cccf689b7ac47f36097c3d2350a411743921 (diff) |
Fix specs; start on light theme
Diffstat (limited to 'spec')
-rw-r--r-- | spec/helpers/preferences_helper_spec.rb | 4 | ||||
-rw-r--r-- | spec/models/user_spec.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/helpers/preferences_helper_spec.rb b/spec/helpers/preferences_helper_spec.rb index 50ac3886a36..d85773306ab 100644 --- a/spec/helpers/preferences_helper_spec.rb +++ b/spec/helpers/preferences_helper_spec.rb @@ -31,7 +31,7 @@ describe PreferencesHelper do it "returns user's theme's css_class" do stub_user(theme_id: 3) - expect(helper.user_application_theme).to eq 'ui_green' + expect(helper.user_application_theme).to eq 'ui_light' end it 'returns the default when id is invalid' do @@ -39,7 +39,7 @@ describe PreferencesHelper do allow(Gitlab.config.gitlab).to receive(:default_theme).and_return(2) - expect(helper.user_application_theme).to eq 'ui_charcoal' + expect(helper.user_application_theme).to eq 'ui_dark' end end diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index 961f891f559..07db6435e13 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -727,7 +727,7 @@ describe User do it "applies defaults to user" do expect(user.projects_limit).to eq(123) expect(user.can_create_group).to be_falsey - expect(user.theme_id).to eq(1) + expect(user.theme_id).to eq(2) end end |