Skip to content

Commit 83a4a73

Browse files
committed
Fix CI
1 parent 47f83a0 commit 83a4a73

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

spec/activerecord_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,8 @@ def perform(elements)
295295
context "with arguments" do
296296
let(:objects) { Entity.includes(company: :with_arguments) }
297297

298+
before { skip "unsupported by ActiveRecord 6" if ar_version == 6 }
299+
298300
it "works" do
299301
expect do
300302
objects.each do |object|

spec/spec_helper.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
end
2020

2121
def ar_lazy_preload_defined?
22-
p "HUY"
23-
p defined?(ArLazyPreload)
22+
defined?(ArLazyPreload)
2423
end
2524

2625
def ar_version

0 commit comments

Comments
 (0)