user1067779
user1067779

Reputation: 95

Trouble with Cucumber and URI::InvalidURIError

I am trying to start my cucumber tests. I get the error:

bad URI (absolute but no path): http:// (URI::InvalidURIError)
/home/de..........:common.rb:146:in 'split'
/home/de..........:common.rb:211:in 'parse'
/home/de..........:common.rb:747:in 'parse'
...

How can I troubleshoot this issue?

Upvotes: 0

Views: 899

Answers (2)

user1067779
user1067779

Reputation: 95

Issue was because of http_proxy in ubuntu.

Upvotes: 3

Prakash Murthy
Prakash Murthy

Reputation: 13057

Might be the case of spaces in the url specified somewhere in your cucumber feature file, as explained here: http://www.practicalguile.com/2007/09/15/raising-uriinvalidurierror-from-a-perfectly-valid-uri/

Upvotes: 0

Related Questions