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:
authorGeorge Tsiolis <tsiolis.g@gmail.com>2018-06-07 15:24:57 +0300
committerPhil Hughes <me@iamphill.com>2018-06-07 15:24:57 +0300
commit93c7976ae26370a6d65c3d5038323911592c20ce (patch)
tree60b04aea4e6ac91c40bcf3e772fbe5ddbcf75616 /spec/lib/gitlab/themes_spec.rb
parent717a46dd0a865d33b00cc94ec7252e706c8cd4eb (diff)
Restore navigation theme order
Diffstat (limited to 'spec/lib/gitlab/themes_spec.rb')
-rw-r--r--spec/lib/gitlab/themes_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/lib/gitlab/themes_spec.rb b/spec/lib/gitlab/themes_spec.rb
index af2f4568017..a8213988f70 100644
--- a/spec/lib/gitlab/themes_spec.rb
+++ b/spec/lib/gitlab/themes_spec.rb
@@ -6,7 +6,7 @@ describe Gitlab::Themes, lib: true do
css = described_class.body_classes
expect(css).to include('ui-indigo')
- expect(css).to include('ui-dark ')
+ expect(css).to include('ui-dark')
expect(css).to include('ui-blue')
end
end
@@ -14,7 +14,7 @@ describe Gitlab::Themes, lib: true do
describe '.by_id' do
it 'returns a Theme by its ID' do
expect(described_class.by_id(1).name).to eq 'Indigo'
- expect(described_class.by_id(10).name).to eq 'Light'
+ expect(described_class.by_id(3).name).to eq 'Light'
end
end