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:
authorRobert Speicher <rspeicher@gmail.com>2015-06-22 21:54:33 +0300
committerRobert Speicher <rspeicher@gmail.com>2015-06-22 21:54:33 +0300
commit0bb320cfda7a22083ceb2bcaaf2a5cb43128fc19 (patch)
treea96ec9fc3d08cb61ebbec8a4b365e0c13a4f3c3f /spec/helpers/preferences_helper_spec.rb
parent4dbf118a16c7d687894d441d2f2e6165cd0be384 (diff)
Fix Style/HashSyntax violations
Diffstat (limited to 'spec/helpers/preferences_helper_spec.rb')
-rw-r--r--spec/helpers/preferences_helper_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/preferences_helper_spec.rb b/spec/helpers/preferences_helper_spec.rb
index 920de8c4325..d814b562113 100644
--- a/spec/helpers/preferences_helper_spec.rb
+++ b/spec/helpers/preferences_helper_spec.rb
@@ -61,7 +61,7 @@ describe PreferencesHelper do
(1..5).each do |color_scheme_id|
context "with color_scheme_id == #{color_scheme_id}" do
it 'should return a string' do
- current_user = double(:color_scheme_id => color_scheme_id)
+ current_user = double(color_scheme_id: color_scheme_id)
allow(self).to receive(:current_user).and_return(current_user)
expect(user_color_scheme_class).to be_kind_of(String)
end