mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Fix randomlly failing spec.
This commit is contained in:
parent
fe92b496a7
commit
4dee7ed6d9
@ -106,7 +106,7 @@ describe NotificationsController do
|
|||||||
|
|
||||||
describe '#update' do
|
describe '#update' do
|
||||||
it "can't update notification" do
|
it "can't update notification" do
|
||||||
update_notification(8, 403, :to_not)
|
update_notification(Fabricate(:topic).id, 403, :to_not)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@ -160,7 +160,7 @@ describe NotificationsController do
|
|||||||
|
|
||||||
describe '#update' do
|
describe '#update' do
|
||||||
it "can't update notification" do
|
it "can't update notification" do
|
||||||
update_notification(8, 403, :to_not)
|
update_notification(Fabricate(:topic).id, 403, :to_not)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user