Commit 49d8c1c8 authored by Stan Hu's avatar Stan Hu

Simplify spec

parent dac68bc6
...@@ -5,7 +5,7 @@ describe Profiles::NotificationsController do ...@@ -5,7 +5,7 @@ describe Profiles::NotificationsController do
create(:user) do |user| create(:user) do |user|
user.emails.create(email: 'original@example.com') user.emails.create(email: 'original@example.com')
user.emails.create(email: 'new@example.com') user.emails.create(email: 'new@example.com')
user.update(notification_email: 'original@example.com') user.notification_email = 'original@example.com'
user.save! user.save!
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment