diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-02-13 18:56:27 +0300 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-02-15 22:31:18 +0300 |
commit | 4b7f0b327cceedf7b107db5fcfa7af75e4eb9e34 (patch) | |
tree | d3b10f6ccee27203b591f3be0c07fc879b61555d /spec/features/profiles | |
parent | 109953885cdf6686d929623cf8f2fc5b55c90cb4 (diff) |
Remove all gitlab theme related code
Diffstat (limited to 'spec/features/profiles')
-rw-r--r-- | spec/features/profiles/preferences_spec.rb | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/spec/features/profiles/preferences_spec.rb b/spec/features/profiles/preferences_spec.rb index a6b841c0210..15c8677fcd3 100644 --- a/spec/features/profiles/preferences_spec.rb +++ b/spec/features/profiles/preferences_spec.rb @@ -8,35 +8,6 @@ describe 'Profile > Preferences', feature: true do visit profile_preferences_path end - describe 'User changes their application theme', js: true do - let(:default) { Gitlab::Themes.default } - let(:theme) { Gitlab::Themes.by_id(5) } - - it 'creates a flash message' do - choose "user_theme_id_#{theme.id}" - - expect_preferences_saved_message - end - - it 'updates their preference' do - choose "user_theme_id_#{theme.id}" - - allowing_for_delay do - visit page.current_path - expect(page).to have_checked_field("user_theme_id_#{theme.id}") - end - end - - it 'reflects the changes immediately' do - expect(page).to have_selector("body.#{default.css_class}") - - choose "user_theme_id_#{theme.id}" - - expect(page).not_to have_selector("body.#{default.css_class}") - expect(page).to have_selector("body.#{theme.css_class}") - end - end - describe 'User changes their syntax highlighting theme', js: true do it 'creates a flash message' do choose 'user_color_scheme_id_5' |