From 7897795e8bb8793436e69a80d7af4a3b65d7c1fe Mon Sep 17 00:00:00 2001 From: Jason Denney Date: Sun, 27 Apr 2014 14:39:32 -0400 Subject: [PATCH] Correct spec description --- spec/controllers/api/bikes_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/controllers/api/bikes_controller_spec.rb b/spec/controllers/api/bikes_controller_spec.rb index 5d69bb1..f52dff0 100644 --- a/spec/controllers/api/bikes_controller_spec.rb +++ b/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