Skip to content

Commit

Permalink
set method and test passes
Browse files Browse the repository at this point in the history
  • Loading branch information
rimian committed Nov 25, 2015
1 parent fa05670 commit 86f98bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/features/examples/post_api_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

describe 'jQuery POST API example', type: :feature, js: true do
before do
proxy.stub('http://example.com/api').and_return(
proxy.stub('http://example.com/api', method: 'post').and_return(
headers: { 'Access-Control-Allow-Origin' => '*' },
code: 201
)
Expand Down

0 comments on commit 86f98bd

Please sign in to comment.