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