From e9c5c1434b239e5c2d5c8efba9dd30abe593fd3c Mon Sep 17 00:00:00 2001 From: xhh Date: Thu, 9 Apr 2015 11:37:48 +0800 Subject: [PATCH] Fix spec --- samples/client/petstore/ruby/spec/pet_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/client/petstore/ruby/spec/pet_spec.rb b/samples/client/petstore/ruby/spec/pet_spec.rb index 7a16b4d06d9..0ea0a5dcd32 100644 --- a/samples/client/petstore/ruby/spec/pet_spec.rb +++ b/samples/client/petstore/ruby/spec/pet_spec.rb @@ -23,7 +23,7 @@ describe "Pet" do end it "should not find a pet with invalid status" do - pets = PetApi.findPetsByStatus('dead') + pets = PetApi.findPetsByStatus('invalid-status') pets.length.should == 0 end