technoweenie/faraday — Issue #90: Rake fails
Author: h4ck3rm1k3
Created: 2011-10-17 10:35:15+00:00
State: open

```
/home/mdupont/.rvm/rubies/ruby-1.9.2-p290/bin/ruby -I"lib:lib:test" -I"/home/mdupont/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib" "/home/mdupont/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/rake_test_loader.rb" "test/**/*_test.rb"
/home/mdupont/.rvm/gems/ruby-1.9.2-p290/gems/rack-1.3.4/lib/rack/backports/uri/common_192.rb:53: warning: already initialized constant WFKV_
warning: test server not specified; skipping live server tests
Loaded suite /home/mdupont/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/rake_test_loader
Started
...............................................................EE......................................
Finished in 1.572946 seconds.

1) Error:
test_auto_parses_basic_auth_from_url(TestConnection):
NameError: uninitialized constant Faraday::Connection::CGI
/home/mdupont/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/ext/module.rb:36:in `const_missing'
/home/mdupont/experiments/diaspora/deps/faraday/lib/faraday/connection.rb:181:in `url_prefix='
/home/mdupont/experiments/diaspora/deps/faraday/lib/faraday/connection.rb:35:in `initialize'
/home/mdupont/experiments/diaspora/deps/faraday/test/connection_test.rb:72:in `new'
/home/mdupont/experiments/diaspora/deps/faraday/test/connection_test.rb:72:in `test_auto_parses_basic_auth_from_url'

2) Error:
test_auto_parses_basic_auth_from_url_and_unescapes(TestConnection):
NameError: uninitialized constant Faraday::Connection::CGI
/home/mdupont/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2/lib/rake/ext/module.rb:36:in `const_missing'
/home/mdupont/experiments/diaspora/deps/faraday/lib/faraday/connection.rb:181:in `url_prefix='
/home/mdupont/experiments/diaspora/deps/faraday/lib/faraday/connection.rb:35:in `initialize'
/home/mdupont/experiments/diaspora/deps/faraday/test/connection_test.rb:77:in `new'
/home/mdupont/experiments/diaspora/deps/faraday/test/connection_test.rb:77:in `test_auto_parses_basic_auth_from_url_and_unescapes'

103 tests, 151 assertions, 0 failures, 2 errors, 0 skips

Test run options: --seed 7526
rake aborted!
Command failed with status (1): [/home/mdupont/.rvm/rubies/ruby-1.9.2-p290/...]

Tasks: TOP => default => test
(See full trace by running task with --trace)
```