Created
March 16, 2015 17:39
-
-
Save ctweney/135b032bd4cdd7af1749 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4) Bearfacts::Telebears it should behave like a student data proxy server error returns an error status | |
Failure/Error: expect(lines[0]).to match(/url: http/) | |
expected "SLOW PROXY duration: 13ms {:url=>\"https://apis-dev.berkeley.edu/bearfacts-apis/student/11667051/reg/appointments\", :class=>Bearfacts::Telebears, :exception=>[\"Errors::ProxyError\", \"Errors::ProxyError\"]} " to match /url: http/ | |
Diff: | |
@@ -1,2 +1,2 @@ | |
-/url: http/ | |
+"SLOW PROXY duration: 13ms {:url=>\"https://apis-dev.berkeley.edu/bearfacts-apis/student/11667051/reg/appointments\", :class=>Bearfacts::Telebears, :exception=>[\"Errors::ProxyError\", \"Errors::ProxyError\"]} " | |
Shared Example Group: "a student data proxy" called from ./spec/models/bearfacts/telebears_spec.rb:6 | |
# ./spec/support/proxy_shared_examples.rb:8:in `(root)' | |
# ./config/initializers/proxy_notifications.rb:6:in `(root)' | |
# /Users/christweney/.rvm/gems/jruby-1.7.13@calcentral/gems/activesupport-4.1.8/lib/active_support/notifications/fanout.rb:122:in `finish' | |
# /Users/christweney/.rvm/gems/jruby-1.7.13@calcentral/gems/activesupport-4.1.8/lib/active_support/notifications/fanout.rb:40:in `finish' | |
# /Users/christweney/.rvm/gems/jruby-1.7.13@calcentral/gems/activesupport-4.1.8/lib/active_support/notifications/fanout.rb:40:in `finish' | |
# /Users/christweney/.rvm/gems/jruby-1.7.13@calcentral/gems/activesupport-4.1.8/lib/active_support/notifications/instrumenter.rb:36:in `finish' | |
# /Users/christweney/.rvm/gems/jruby-1.7.13@calcentral/gems/activesupport-4.1.8/lib/active_support/notifications/instrumenter.rb:25:in `instrument' | |
# /Users/christweney/.rvm/gems/jruby-1.7.13@calcentral/gems/activesupport-4.1.8/lib/active_support/notifications.rb:159:in `instrument' | |
# ./lib/proxies/http_requester.rb:8:in `get_response' | |
# ./app/models/bearfacts/proxy.rb:58:in `request_internal' | |
# ./lib/proxies/fakeable_proxy.rb:34:in `wrap_request' | |
# ./app/models/bearfacts/proxy.rb:45:in `request_internal' | |
# ./app/models/bearfacts/proxy.rb:24:in `request' | |
# ./lib/proxies/response_wrapper.rb:7:in `handling_exceptions' | |
# ./lib/cache/cacheable.rb:43:in `smart_fetch_from_cache' | |
# ./app/models/bearfacts/proxy.rb:23:in `request' | |
# ./app/models/bearfacts/telebears.rb:14:in `get' | |
# ./spec/support/proxy_shared_examples.rb:74:in `(root)' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment