diff options
Diffstat (limited to 'spec/controllers/application_controller_spec.rb')
-rw-r--r-- | spec/controllers/application_controller_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/controllers/application_controller_spec.rb b/spec/controllers/application_controller_spec.rb index dc742074c..1aabae0ea 100644 --- a/spec/controllers/application_controller_spec.rb +++ b/spec/controllers/application_controller_spec.rb @@ -101,7 +101,8 @@ describe ApplicationController, type: :controller do it 'returns user\'s flavour when it is set' do current_user = Fabricate(:user) - current_user.settings['flavour'] = 'glitch' + current_user.settings.update(flavour: 'glitch') + current_user.save sign_in current_user allow(Setting).to receive(:[]).with('skin').and_return 'default' |