diff options
Diffstat (limited to 'spec/controllers/profiles/notifications_controller_spec.rb')
-rw-r--r-- | spec/controllers/profiles/notifications_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/profiles/notifications_controller_spec.rb b/spec/controllers/profiles/notifications_controller_spec.rb index 58caf7999cf..b97cdd4d489 100644 --- a/spec/controllers/profiles/notifications_controller_spec.rb +++ b/spec/controllers/profiles/notifications_controller_spec.rb @@ -5,7 +5,7 @@ describe Profiles::NotificationsController do create(:user) do |user| user.emails.create(email: 'original@example.com') user.emails.create(email: 'new@example.com') - user.update(notification_email: 'original@example.com') + user.notification_email = 'original@example.com' user.save! end end |