Commit 93c7976a authored by George Tsiolis's avatar George Tsiolis Committed by Phil Hughes
Browse files

Restore navigation theme order

parent 717a46dd
......@@ -13,15 +13,15 @@ module Themes
# All available Themes
THEMES = [, 'Indigo', 'ui-indigo'),, 'Light Indigo', 'ui-light-indigo'),, 'Blue', 'ui-blue'),, 'Light Blue', 'ui-light-blue'),, 'Light Indigo', 'ui-light-indigo'),, 'Blue', 'ui-blue'),, 'Light Blue', 'ui-light-blue'),, 'Green', 'ui-green'),, 'Light Green', 'ui-light-green'),, 'Red', 'ui-red'),, 'Light Red', 'ui-light-red'),, 'Dark', 'ui-dark'),, 'Light', 'ui-light'), 'Light Green', 'ui-light-green'),, 'Red', 'ui-red'),, 'Light Red', 'ui-light-red'),, 'Dark', 'ui-dark'),, 'Light', 'ui-light')
# Convenience method to get a space-separated String of all the theme
......@@ -31,7 +31,7 @@
describe '#user_application_theme' do
context 'with a user' do
it "returns user's theme's css_class" do
stub_user(theme_id: 10)
stub_user(theme_id: 3)
expect(helper.user_application_theme).to eq 'ui-light'
......@@ -6,7 +6,7 @@
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')
......@@ -14,7 +14,7 @@
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'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment