A platform for community discussion. Free, open, simple.
DEV: Fix randomlly failing spec.
Guo Xiang Tan4dee7ed6d917
diff --git a/spec/requests/notifications_controller_spec.rb b/spec/requests/notifications_controller_spec.rbindex e22721f82b5..19a525dd99f 100644--- a/spec/requests/notifications_controller_spec.rb+++ b/spec/requests/notifications_controller_spec.rb@@ -106,7 +106,7 @@ describe NotificationsController dodescribe '#update' doit "can't update notification" do- update_notification(8, 403, :to_not)+ update_notification(Fabricate(:topic).id, 403, :to_not)endend@@ -160,7 +160,7 @@ describe NotificationsController dodescribe '#update' doit "can't update notification" do- update_notification(8, 403, :to_not)+ update_notification(Fabricate(:topic).id, 403, :to_not)endend