mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Add rubocop to our build. (#5004)
This commit is contained in:
@@ -24,7 +24,7 @@ describe Jobs::PendingQueuedPostReminder do
|
||||
end
|
||||
|
||||
it "emails if there are new queued posts" do
|
||||
described_class.any_instance.stubs(:should_notify_ids).returns([1,2])
|
||||
described_class.any_instance.stubs(:should_notify_ids).returns([1, 2])
|
||||
described_class.any_instance.stubs(:last_notified_id).returns(nil)
|
||||
Email::Sender.any_instance.expects(:send).once
|
||||
described_class.new.execute({})
|
||||
|
||||
Reference in New Issue
Block a user