@@ -130,12 +130,21 @@
   end
 
   context "when author has spam role" do
+    before do
+      article.user.add_role(:spam)
+    end
+
     it "renders 404" do
       expect do
-        article.user.add_role(:spam)
         get article.path
       end.to raise_error(ActiveRecord::RecordNotFound)
-      # expect(response).to have_http_status(:not_found)
+    end
+
+    it "renders 404 for authorized user" do
+      sign_in user
+      expect do
+        get article.path
+      end.to raise_error(ActiveRecord::RecordNotFound)
     end
   end
 