Skip to content

Instantly share code, notes, and snippets.

@hanshasselberg
Last active December 11, 2015 00:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hanshasselberg/4514777 to your computer and use it in GitHub Desktop.
Save hanshasselberg/4514777 to your computer and use it in GitHub Desktop.
webmock master bundle exec rspec spec;
Run options:
include {:focus=>true}
exclude {:without_webmock=>true}
All examples were filtered out; ignoring {:focus=>true}
................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F....................................................................................................................................................................................................................................................................................
Failures:
1) Typhoeus::Hydra with WebMock when after_request callback is declared passing response to callback when request is stubbed should pass response to callback with the status and message
Failure/Error: @response.status.should == ["200", "hello"]
expected: ["200", "hello"]
got: [200, "hello"] (using ==)
# ./spec/acceptance/shared/callbacks.rb:82:in `block (5 levels) in <top (required)>'
Finished in 59.06 seconds
3173 examples, 1 failure
Failed examples:
rspec ./spec/acceptance/shared/callbacks.rb:81 # Typhoeus::Hydra with WebMock when after_request callback is declared passing response to callback when request is stubbed should pass response to callback with the status and message
webmock status_code b rspec spec
Run options:
include {:focus=>true}
exclude {:without_webmock=>true}
All examples were filtered out; ignoring {:focus=>true}
...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................F.................................................................................................................................................................................................................................................................................
Failures:
1) Typhoeus::Hydra with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass real response to callback with status and message
Failure/Error: @response.status[0].should == 302
expected: 302
got: "302" (using ==)
# ./spec/acceptance/shared/callbacks.rb:108:in `block (5 levels) in <top (required)>'
Finished in 1 minute 13.23 seconds
3173 examples, 1 failure
Failed examples:
rspec ./spec/acceptance/shared/callbacks.rb:107 # Typhoeus::Hydra with WebMock when after_request callback is declared passing response to callback when request is not stubbed should pass real response to callback with status and message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment