diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-22 21:54:33 +0300 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-06-22 21:54:33 +0300 |
commit | 0bb320cfda7a22083ceb2bcaaf2a5cb43128fc19 (patch) | |
tree | a96ec9fc3d08cb61ebbec8a4b365e0c13a4f3c3f /spec/helpers/preferences_helper_spec.rb | |
parent | 4dbf118a16c7d687894d441d2f2e6165cd0be384 (diff) |
Fix Style/HashSyntax violations
Diffstat (limited to 'spec/helpers/preferences_helper_spec.rb')
-rw-r--r-- | spec/helpers/preferences_helper_spec.rb | 2 |
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 |