We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af012b1 commit 30fcff0Copy full SHA for 30fcff0
spec/integration/container/plugins/bootsnap_spec.rb
@@ -35,12 +35,14 @@
35
end
36
37
describe ".require_from_root" do
38
- it "loads file" do
39
- system.require_from_root("lib/test/models")
+ if Gem::Version.new(RUBY_VERSION) < Gem::Version.new("3.4.0")
+ it "loads file" do
40
+ system.require_from_root("lib/test/models")
41
- expect(Object.const_defined?("Test::Models")).to be(true)
42
+ expect(Object.const_defined?("Test::Models")).to be(true)
43
- expect(bootsnap_cache_file.exist?).to be(true)
44
+ expect(bootsnap_cache_file.exist?).to be(true)
45
+ end
46
47
48
0 commit comments