jayzes / cucumber-api-steps

Cucumber steps to easily test REST-based XML and JSON APIs

Repository from Github https://github.comjayzes/cucumber-api-stepsRepository from Github https://github.comjayzes/cucumber-api-steps

undefined method `last_response'

johnlauck opened this issue · comments

undefined method `last_response' for #<Capybara::RackTest::Driver:0x000001037f3c18> (NoMethodError)

#cucumber-api-steps-0.4/lib/cucumber/api_steps.rb:39

I found one recent reference to this error at http://pastie.org/pastes/2061958

Any idea what would cause this? Using page.driver.response seems to fix this.

Same here. same fix. There was a change in capybara: :teamcapybara/capybara@8ce6d4e#diff-3
that removed the last_response definition from capybara driver.

plus one

Now only rack-test methods are used. So we can close this issue.