Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
rdvdijk committed Sep 8, 2012
1 parent 03d2e80 commit d0a27e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/unit/rest/node_indexes_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,17 +81,17 @@ class Rest
subject.find_by_query("some_index", "some_query")
end

it "removed a node from an index" do
it "removes a node from an index" do
connection.should_receive(:delete).with("/index/node/some_index/42")
subject.remove("some_index", "42")
end

it "removed a node from an index by key" do
it "removes a node from an index by key" do
connection.should_receive(:delete).with("/index/node/some_index/some_key/42")
subject.remove_by_key("some_index", "42", "some_key")
end

it "removed a node from an index by key and value" do
it "removes a node from an index by key and value" do
connection.should_receive(:delete).with("/index/node/some_index/some_key/some_value/42")
subject.remove_by_value("some_index", "42", "some_key", "some_value")
end
Expand Down

0 comments on commit d0a27e5

Please sign in to comment.