Replace .all.each with .find_each on admin specs

This commit is contained in:
Angel Perez
2018-07-13 13:32:53 -04:00
parent b6fe7ca9a7
commit ffe421ae69
4 changed files with 4 additions and 4 deletions

View File

@@ -199,7 +199,7 @@ feature "Admin Notifications" do
expect(page).to have_content "Notification sent successfully"
User.all.each do |user|
User.find_each do |user|
expect(user.notifications.count).to eq(1)
end
end