DEV: Fix randomlly failing spec.

This commit is contained in:
Guo Xiang Tan 2019-01-22 15:19:31 +08:00
parent fe92b496a7
commit 4dee7ed6d9
1 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ describe NotificationsController do
describe '#update' do
it "can't update notification" do
update_notification(8, 403, :to_not)
update_notification(Fabricate(:topic).id, 403, :to_not)
end
end
@ -160,7 +160,7 @@ describe NotificationsController do
describe '#update' do
it "can't update notification" do
update_notification(8, 403, :to_not)
update_notification(Fabricate(:topic).id, 403, :to_not)
end
end