Fix failing test
This commit is contained in:
parent
ccc7b987dd
commit
524f3194ff
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue