mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-05-25 01:13:03 -04:00
Removed test for unused method
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user