views:

96

answers:

1

So... I have this URL: example.com which works in my browser, cause in my hosts file i have it set to

127.0.0.1   example.com

And that works in my browser... but not in cucumber.

Any ideas?

A: 

Figured it out.

needed to change The Given I am on step definition to

Given /^(?:|I )am on (.+)$/ do |page_name|
host! "cucumber.example.com"
visit path_to(page_name)
end
DerNalia