Skip to content

Commit 055c37e

Browse files
committed
[MODEL] Correct launching of test server in test helper
1 parent 095787f commit 055c37e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

elasticsearch-model/test/test_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module Test
3030
class IntegrationTestCase < ::Test::Unit::TestCase
3131
extend Elasticsearch::Extensions::Test::StartupShutdown
3232

33-
startup { Elasticsearch::TestCluster.start if ENV['SERVER'] and not Elasticsearch::TestCluster.running? }
33+
startup { Elasticsearch::Extensions::Test::Cluster.start if ENV['SERVER'] and not Elasticsearch::Extensions::Test::Cluster.running? }
3434
shutdown { Elasticsearch::Extensions::Test::Cluster.stop if ENV['SERVER'] && started? }
3535
context "IntegrationTest" do; should "noop on Ruby 1.8" do; end; end if RUBY_1_8
3636

0 commit comments

Comments
 (0)