spec/gems/client_spec.rb in gems-0.0.1 vs spec/gems/client_spec.rb in gems-0.0.2

- old
+ new

@@ -17,15 +17,15 @@ end end describe "#search" do before do - stub_get("/api/v1/gems/search.json?query=cucumber").to_return(:body => fixture("search.json")) + stub_get("/api/v1/search.json?query=cucumber").to_return(:body => fixture("search.json")) end it "should return an array of active gems that match the query" do search = @client.search 'cucumber' - a_get("/api/v1/gems/search.json?query=cucumber").should have_been_made + a_get("/api/v1/search.json?query=cucumber").should have_been_made search.first.name.should == 'cucumber' end end describe "#versions" do