Skip to content

Commit ad7c866

Browse files
committed
[CLIENT] Ensure that the spec rake task is run as part of integration tests
1 parent 0f3f205 commit ad7c866

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

elasticsearch-transport/Rakefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ namespace :test do
3434
end
3535

3636
task :spec => :wait_for_green
37+
RSpec::Core::RakeTask.new(:spec)
3738

3839
Rake::TestTask.new(:unit) do |test|
3940
test.libs << 'lib' << 'test'
@@ -45,7 +46,7 @@ namespace :test do
4546
Rake::TestTask.new(:integration) do |test|
4647
test.libs << 'lib' << 'test'
4748
test.test_files = FileList["test/integration/**/*_test.rb"]
48-
test.deps = [ :wait_for_green, :spec ]
49+
test.deps = [ 'test:wait_for_green', 'test:spec' ]
4950
test.verbose = false
5051
test.warning = false
5152
end

0 commit comments

Comments
 (0)