Skip to content

Commit

Permalink
Update spec/react_on_rails/utils_spec.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
justin808 authored Jun 14, 2024
1 parent 32da3e9 commit c8f1037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/react_on_rails/utils_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ module ReactOnRails
allow(Rails).to receive(:version).and_return("4.2")
end

it "memorizes the result" do
it "memoizes the result" do
2.times { described_class.rails_version_less_than("4") }

expect(Rails).to have_received(:version).once
Expand Down

0 comments on commit c8f1037

Please sign in to comment.