Skip to content

Commit

Permalink
Run 7.2 tests on 7.2.0.alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
djmb committed Mar 4, 2024
1 parent 363cc0e commit 1017843
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/unit/behaviors/cache_instrumentation_behavior.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def test_instrumentation_with_fetch_multi_as_super_operation
end

def test_fetch_multi_instrumentation_order_of_operations
skip if Gem::Version.new(Rails.version) < Gem::Version.new("7.2")
skip if Rails::VERSION::MAJOR == 7 && Rails::VERSION::MINOR < 2
operations = []
callback = ->(name, *) { operations << name }

Expand Down
2 changes: 1 addition & 1 deletion test/unit/behaviors/local_cache_behavior.rb
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def test_local_cache_of_read_multi
end

def test_local_cache_of_read_multi_prioritizes_local_entries
skip if Gem::Version.new(Rails.version) < Gem::Version.new("7.2")
skip if Rails::VERSION::MAJOR == 7 && Rails::VERSION::MINOR < 2
key = "key#{rand}"
@cache.with_local_cache do
@cache.write(key, "foo")
Expand Down

0 comments on commit 1017843

Please sign in to comment.