From d066e374e4b6352ddf13de47329ae163452c4589 Mon Sep 17 00:00:00 2001 From: Judah Meek Date: Mon, 2 Dec 2024 17:07:59 -0600 Subject: [PATCH] final CI fixes --- spec/react_on_rails/version_checker_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/react_on_rails/version_checker_spec.rb b/spec/react_on_rails/version_checker_spec.rb index fcc53ec6e..a46b13f80 100644 --- a/spec/react_on_rails/version_checker_spec.rb +++ b/spec/react_on_rails/version_checker_spec.rb @@ -39,6 +39,7 @@ module ReactOnRails allow(Rails.logger).to receive(:warn) message = /ReactOnRails: Your node package version for react-on-rails contains a \^ or ~/ # expect { check_version(node_package_version) }.to raise_error(message) + check_version(node_package_version) expect(Rails.logger).to have_received(:warn).with(message) end end @@ -54,6 +55,7 @@ module ReactOnRails allow(Rails.logger).to receive(:warn) message = /ReactOnRails: ReactOnRails gem and node package versions do not match/ # expect { check_version(node_package_version) }.to raise_error(message) + check_version(node_package_version) expect(Rails.logger).to have_received(:warn).with(message) end end @@ -69,6 +71,7 @@ module ReactOnRails allow(Rails.logger).to receive(:warn) message = /ReactOnRails: ReactOnRails gem and node package versions do not match/ # expect { check_version(node_package_version) }.to raise_error(message) + check_version(node_package_version) expect(Rails.logger).to have_received(:warn).with(message) end end @@ -84,6 +87,7 @@ module ReactOnRails allow(Rails.logger).to receive(:warn) message = /ReactOnRails: ReactOnRails gem and node package versions do not match/ # expect { check_version(node_package_version) }.to raise_error(message) + check_version(node_package_version) expect(Rails.logger).to have_received(:warn).with(message) end end