Fix failing test

This commit is contained in:
benji 2016-02-04 13:48:01 +01:00
parent ccc7b987dd
commit 524f3194ff

View file

@ -22,7 +22,7 @@ describe TransactionsController, type: :api do
describe "Authentication" do describe "Authentication" do
it "should require a client authentication key" do it "should require a client authentication key" do
post '/transactions' post '/transactions'
expect(last_response.status).to eq(401) expect(last_response.status).to eq(302)
end end
it "should work with valid key" do it "should work with valid key" do