summaryrefslogtreecommitdiff
path: root/spec/controllers/profiles
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-02-13 11:50:13 -0600
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-02-15 13:31:18 -0600
commitc780ad0e926f15ed47acd744df99f89081c8a340 (patch)
treeaa1254259fa8efa2cf9f9cdc177d906b64f6357b /spec/controllers/profiles
parent0667d1aa7f251f5bf11dd121fe2f696107d8103e (diff)
downloadgitlab-ce-c780ad0e926f15ed47acd744df99f89081c8a340.tar.gz
Remove all instances of theme_id; require downtime
Diffstat (limited to 'spec/controllers/profiles')
-rw-r--r--spec/controllers/profiles/preferences_controller_spec.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/spec/controllers/profiles/preferences_controller_spec.rb b/spec/controllers/profiles/preferences_controller_spec.rb
index 8f02003992a..7b3aa0491c7 100644
--- a/spec/controllers/profiles/preferences_controller_spec.rb
+++ b/spec/controllers/profiles/preferences_controller_spec.rb
@@ -25,8 +25,7 @@ describe Profiles::PreferencesController do
def go(params: {}, format: :js)
params.reverse_merge!(
color_scheme_id: '1',
- dashboard: 'stars',
- theme_id: '1'
+ dashboard: 'stars'
)
patch :update, user: params, format: format
@@ -41,8 +40,7 @@ describe Profiles::PreferencesController do
it "changes the user's preferences" do
prefs = {
color_scheme_id: '1',
- dashboard: 'stars',
- theme_id: '2'
+ dashboard: 'stars'
}.with_indifferent_access
expect(user).to receive(:update_attributes).with(prefs)