Browse Source

Correct spec description

denney-fix-saving-dates
Jason Denney 11 years ago
parent
commit
7897795e8b
  1. 2
      spec/controllers/api/bikes_controller_spec.rb

2
spec/controllers/api/bikes_controller_spec.rb

@ -28,7 +28,7 @@ describe Api::V1::BikesController do
end
context "with no bike in json data" do
it "returns 400" do
it "returns error status" do
post :create
expect(@response.code.to_i).to eql 422
end

Loading…
Cancel
Save