Skip to content

A platform for community discussion. Free, open, simple.

Make rubocop happy.

Guo Xiang Tan4f301905b6d1
diff --git a/spec/components/post_revisor_spec.rb b/spec/components/post_revisor_spec.rb
index 7fe2547ea3a..82a239677e4 100644
--- a/spec/components/post_revisor_spec.rb
+++ b/spec/components/post_revisor_spec.rb
@@ -463,7 +463,6 @@ describe PostRevisor do
expect(post).not_to be_locked
end
-
it "doesn't lock the post when revised by a regular user" do
result = subject.revise!(
Fabricate(:user),