summaryrefslogtreecommitdiff
path: root/spec/controllers/profiles
diff options
context:
space:
mode:
authorFabian Schneider <fabbbbbi+git@googlemail.com>2019-02-20 22:58:53 +0000
committerStan Hu <stanhu@gmail.com>2019-02-20 22:58:53 +0000
commita32fd49dd87414fcb8a9c979bd19b57355758c6e (patch)
treeb797cfd4d7315be01162301fbf6ea98b99692fa5 /spec/controllers/profiles
parent09532e38bd7c612fd3d0e6ac7e17ec7bc648302f (diff)
downloadgitlab-ce-a32fd49dd87414fcb8a9c979bd19b57355758c6e.tar.gz
Move language setting to preferences
Diffstat (limited to 'spec/controllers/profiles')
-rw-r--r--spec/controllers/profiles/preferences_controller_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/controllers/profiles/preferences_controller_spec.rb b/spec/controllers/profiles/preferences_controller_spec.rb
index 760c0fab130..ee881f85233 100644
--- a/spec/controllers/profiles/preferences_controller_spec.rb
+++ b/spec/controllers/profiles/preferences_controller_spec.rb
@@ -43,7 +43,8 @@ describe Profiles::PreferencesController do
color_scheme_id: '1',
dashboard: 'stars',
theme_id: '2',
- first_day_of_week: '1'
+ first_day_of_week: '1',
+ preferred_language: 'jp'
}.with_indifferent_access
expect(user).to receive(:assign_attributes).with(ActionController::Parameters.new(prefs).permit!)