Removed test for unused method

This commit is contained in:
Brenda Wallace committed 2019-08-11 16:31:51 +12:00
1 parent e01b53fd9b
commit 11ef0fb694
1 file changed
-6
-6
View File
@@ -24,12 +24,6 @@ describe Notification do
expect(Notification.unread).to include notification
end
it "counts unread" do
@who = notification.recipient
@n2 = FactoryBot.create(:notification, recipient: @who, read: false)
expect(@who.notifications.unread_count).to eq 2
end
it "sends email if asked" do
@notification2 = FactoryBot.create(:notification)
@notification2.send_message