Skip to content

Instantly share code, notes, and snippets.

@jpuccino
Created August 20, 2014 19:15
Show Gist options
  • Save jpuccino/a88841dff6226a156267 to your computer and use it in GitHub Desktop.
Save jpuccino/a88841dff6226a156267 to your computer and use it in GitHub Desktop.
Failing Hosts
Johns-MacBook-Pro:toro John$ rspec spec/integration/api_test_links_spec.rb
creating io
creating ads for Loadtest Order 0 LineItem 0
creating ads for Loadtest Order 0 LineItem 1
creating io
creating ads for Loadtest Order 1 LineItem 0
creating ads for Loadtest Order 1 LineItem 1
F
Failures:
1) API Links Advertiser should allow all links to be traversed from the root api
Failure/Error: body = JSON.parse(bottom)
TypeError:
no implicit conversion of nil into String
# ./spec/integration/api_test_links_spec.rb:19:in `parse_response'
# ./spec/integration/api_test_links_spec.rb:13:in `get_request'
# ./spec/integration/api_test_links_spec.rb:27:in `traverse_link'
# ./spec/integration/api_test_links_spec.rb:37:in `block in traverse_link'
# ./spec/integration/api_test_links_spec.rb:35:in `each'
# ./spec/integration/api_test_links_spec.rb:35:in `traverse_link'
# ./spec/integration/api_test_links_spec.rb:77:in `block (3 levels) in <top (required)>'
Deprecation Warnings:
Requiring `rspec/autorun` when running RSpec via the `rspec` command is deprecated. Called from /Users/John/.rvm/gems/ruby-2.0.0-p195@toro/gems/activesupport-4.0.1/lib/ac
tive_support/dependencies.rb:229:in `require'.
If you need more of the backtrace for any of these deprecations to
identify where to make the necessary changes, you can configure
`config.raise_errors_for_deprecations!`, and it will turn the
deprecation warnings into errors, giving you the full backtrace.
1 deprecation warning total
Finished in 54.55 seconds (files took 17.9 seconds to load)
1 example, 1 failure
Failed examples:
rspec ./spec/integration/api_test_links_spec.rb:75 # API Links Advertiser should allow all links to be traversed from the root api
Randomized with seed 50789
Coverage report generated for RSpec to /Users/John/Projects/aptana3_workspace/toro/coverage. 1192 / 1805 LOC (66.04%) covered.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment