A platform for community discussion. Free, open, simple.
DEV: Correct test names
romanrizzi330d1ae9bce7
diff --git a/spec/components/post_action_creator_spec.rb b/spec/components/post_action_creator_spec.rbindex dd5c97f560d..3c50cab11b6 100644--- a/spec/components/post_action_creator_spec.rb+++ b/spec/components/post_action_creator_spec.rb@@ -127,7 +127,7 @@ describe PostActionCreator doexpect(result.success?).to eq(false)end- it "succesfully flags the post if it was edited after being reviewed" do+ it "succesfully flags the post if it was reviewed more than 24 hours ago" doreviewable.update!(updated_at: 25.hours.ago)post.last_version_at = 30.hours.ago@@ -137,7 +137,7 @@ describe PostActionCreator doexpect(result.reviewable).to be_presentend- it 'succesfully flags the post if it was reviewed more than 24 hours ago' do+ it "succesfully flags the post if it was edited after being reviewed" doreviewable.update!(updated_at: 10.minutes.ago)post.last_version_at = 1.minute.ago