Created
June 2, 2015 16:05
-
-
Save pkarman/83fcbf9f39f80c6426a4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| [karpet@workhorse:~/pua/fixer_client]$ rake test | |
| /home/karpet/.rvm/rubies/ruby-2.0.0-p247/bin/ruby -I"lib:lib:test" -I"/home/karpet/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.4.2/lib" "/home/karpet/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.4.2/lib/rake/rake_test_loader.rb" "test/fixer/client_test.rb" | |
| Run options: --seed 43983 | |
| # Running: | |
| .EE | |
| Finished in 0.007790s, 385.1003 runs/s, 128.3668 assertions/s. | |
| 1) Error: | |
| Fixer::Client#test_0002_gets a list of jobs: | |
| NoMethodError: undefined method `+' for nil:NilClass | |
| /home/karpet/.rvm/gems/ruby-2.0.0-p247/gems/oauth2-1.0.0/lib/oauth2/strategy/client_credentials.rb:32:in `authorization' | |
| /home/karpet/.rvm/gems/ruby-2.0.0-p247/gems/oauth2-1.0.0/lib/oauth2/strategy/client_credentials.rb:23:in `get_token' | |
| /home/karpet/pua/fixer_client/lib/fixer/connection.rb:52:in `get_token' | |
| /home/karpet/pua/fixer_client/lib/fixer/connection.rb:36:in `block in connection' | |
| /home/karpet/.rvm/gems/ruby-2.0.0-p247/gems/faraday-0.9.1/lib/faraday/connection.rb:91:in `initialize' | |
| /home/karpet/pua/fixer_client/lib/fixer/connection.rb:35:in `new' | |
| /home/karpet/pua/fixer_client/lib/fixer/connection.rb:35:in `connection' | |
| /home/karpet/pua/fixer_client/lib/fixer/api.rb:40:in `request' | |
| /home/karpet/pua/fixer_client/lib/fixer/api.rb:69:in `list' | |
| /home/karpet/pua/fixer_client/test/fixer/client_test.rb:58:in `block (2 levels) in <top (required)>' | |
| 2) Error: | |
| Fixer::Client#test_0003_creates a complex job: | |
| NoMethodError: undefined method `+' for nil:NilClass | |
| /home/karpet/.rvm/gems/ruby-2.0.0-p247/gems/oauth2-1.0.0/lib/oauth2/strategy/client_credentials.rb:32:in `authorization' | |
| /home/karpet/.rvm/gems/ruby-2.0.0-p247/gems/oauth2-1.0.0/lib/oauth2/strategy/client_credentials.rb:23:in `get_token' | |
| /home/karpet/pua/fixer_client/lib/fixer/connection.rb:52:in `get_token' | |
| /home/karpet/pua/fixer_client/lib/fixer/connection.rb:36:in `block in connection' | |
| /home/karpet/.rvm/gems/ruby-2.0.0-p247/gems/faraday-0.9.1/lib/faraday/connection.rb:91:in `initialize' | |
| /home/karpet/pua/fixer_client/lib/fixer/connection.rb:35:in `new' | |
| /home/karpet/pua/fixer_client/lib/fixer/connection.rb:35:in `connection' | |
| /home/karpet/pua/fixer_client/lib/fixer/api.rb:40:in `request' | |
| /home/karpet/pua/fixer_client/lib/fixer/api.rb:79:in `create' | |
| /home/karpet/pua/fixer_client/test/fixer/client_test.rb:66:in `block (2 levels) in <top (required)>' | |
| 3 runs, 1 assertions, 0 failures, 2 errors, 0 skips | |
| Coverage report generated for Unit Tests to /home/karpet/pua/fixer_client/coverage. 123 / 168 LOC (73.21%) covered. | |
| rake aborted! | |
| Command failed with status (1): [ruby -I"lib:lib:test" -I"/home/karpet/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.4.2/lib" "/home/karpet/.rvm/gems/ruby-2.0.0-p247/gems/rake-10.4.2/lib/rake/rake_test_loader.rb" "test/fixer/client_test.rb" ] | |
| /home/karpet/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `eval' | |
| /home/karpet/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in `<main>' | |
| Tasks: TOP => test | |
| (See full trace by running task with --trace) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment