Rakefile in elasticsearch-api-8.12.2 vs Rakefile in elasticsearch-api-8.13.0
- old
+ new
@@ -65,12 +65,14 @@
test.warning = false
end
desc 'Run Platinum Integration Specs'
RSpec::Core::RakeTask.new(:integration) do |t|
- exit(0) unless ENV['TEST_SUITE'] == 'platinum'
-
- t.pattern = 'spec/platinum/integration/**/*_spec.rb'
+ t.pattern = if ENV['TEST_SUITE'] == 'platinum'
+ 'spec/platinum/integration/**/*_spec.rb'
+ else
+ 'spec/free/integration/**/*_spec.rb'
+ end
t.ruby_opts = '-W0'
end
end
end