Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-09-06 18:09:54 +0300
committerRuben Davila <rdavila84@gmail.com>2017-09-06 20:57:30 +0300
commit7b567597eef25ca3af8af63a71bcc4dfefc2a694 (patch)
tree6b2fe901187399ff9e49e1c2fe3ea296fd3f18e9 /spec/helpers
parent1245cccf689b7ac47f36097c3d2350a411743921 (diff)
Fix specs; start on light theme
Diffstat (limited to 'spec/helpers')
-rw-r--r--spec/helpers/preferences_helper_spec.rb4
1 files changed, 2 insertions, 2 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