Skip to content

Commit

Permalink
Change expected OPTIONS response status from 200 to 204
Browse files Browse the repository at this point in the history
  • Loading branch information
namusyaka authored and przbadu committed Apr 5, 2016
1 parent a164982 commit 401083b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/grape/api_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3047,7 +3047,7 @@ def before
expect(last_response.status).to eq(200)
expect(last_response.body).to eq('v2')
options '/v2/hello'
expect(last_response.status).to eq(200)
expect(last_response.status).to eq(204)
expect(last_response.body).to be_blank
head '/v2/hello'
expect(last_response.status).to eq(200)
Expand Down

0 comments on commit 401083b

Please sign in to comment.