spec/acceptance/search_resource_spec.rb in ridley-0.0.6 vs spec/acceptance/search_resource_spec.rb in ridley-0.1.0

- old
+ new

@@ -26,27 +26,9 @@ indexes.should include(:node) indexes.should include(:client) end end - describe "showing an index" do - before(:each) do - @result = connection.search(:node) - end - - it "returns a hash with a total key" do - @result.should have_key(:total) - end - - it "returns a hash with a start key" do - @result.should have_key(:start) - end - - it "returns a hash with a rows key" do - @result.should have_key(:rows) - end - end - describe "searching an index that doesn't exist" do it "it raises a Ridley::Errors::HTTPNotFound error" do lambda { connection.search(:notthere) }.should raise_error(Ridley::Errors::HTTPNotFound)