Skip to content

Commit 8b49a7a

Browse files
Remove unnecessary setup in pro_attribution_comment tests for cleaner context
1 parent e480515 commit 8b49a7a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

react_on_rails_pro/spec/react_on_rails_pro/utils_spec.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,6 @@ module ReactOnRailsPro
220220
end
221221

222222
describe ".pro_attribution_comment" do
223-
before do
224-
allow(Rails).to receive(:env).and_return(ActiveSupport::StringInquirer.new("production"))
225-
end
226-
227223
context "when license is valid and not in grace period" do
228224
before do
229225
allow(ReactOnRailsPro::LicenseValidator).to receive_messages(grace_days_remaining: nil, evaluation?: false)

0 commit comments

Comments
 (0)