Removed test for unused method

This commit is contained in:
Brenda Wallace
2019-08-11 16:31:51 +12:00
parent e01b53fd9b
commit 11ef0fb694

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