es 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/es/connection.rb +1 -1
- data/lib/es/version.rb +1 -1
- data/spec/es/connection_spec.rb +1 -1
- metadata +1 -1
data/lib/es/connection.rb
CHANGED
data/lib/es/version.rb
CHANGED
data/spec/es/connection_spec.rb
CHANGED
@@ -27,7 +27,7 @@ describe ES::Connection do
|
|
27
27
|
end
|
28
28
|
|
29
29
|
it 'sends delete request with url to driver' do
|
30
|
-
driver.should_receive(:
|
30
|
+
driver.should_receive(:http_delete).with('http://localhost:9200/index').and_return(response)
|
31
31
|
|
32
32
|
subject.request(:delete, 'index').should == response_body
|
33
33
|
end
|