Skip to content

Commit

Permalink
final CI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Judahmeek committed Dec 2, 2024
1 parent 5c2164c commit d066e37
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/react_on_rails/version_checker_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit d066e37

Please sign in to comment.