A platform for community discussion. Free, open, simple.
DEV: Remove unnecessary fab! blocks (#24419)
Daniel Waterworthe34d2cfde48d
diff --git a/plugins/discourse-local-dates/spec/system/post_small_action_spec.rb b/plugins/discourse-local-dates/spec/system/post_small_action_spec.rbindex 32199b699c2..e49158b3866 100644--- a/plugins/discourse-local-dates/spec/system/post_small_action_spec.rb+++ b/plugins/discourse-local-dates/spec/system/post_small_action_spec.rb@@ -2,7 +2,7 @@describe "Post small actions", type: :system dofab!(:current_user) { Fabricate(:user) }- fab!(:topic) { Fabricate(:topic) }+ fab!(:topic)fab!(:post) { Fabricate(:post, topic: topic) }let(:topic_page) { PageObjects::Pages::Topic.new }diff --git a/spec/system/post_small_action_spec.rb b/spec/system/post_small_action_spec.rbindex df6f39f51fe..8409e53b635 100644--- a/spec/system/post_small_action_spec.rb+++ b/spec/system/post_small_action_spec.rb@@ -1,8 +1,8 @@# frozen_string_literal: truedescribe "Post small actions", type: :system do- fab!(:admin) { Fabricate(:admin) }- fab!(:topic) { Fabricate(:topic) }+ fab!(:admin)+ fab!(:topic)fab!(:first_post) doFabricate(:post, topic: topic, raw: "This is a special post with special stuff")end