Open clofresh opened 13 years ago
I can confirm. For the lazy, I've dropped this in a git repo: https://github.com/josephholsten/cuke-nag-forms-test
Looks like the response object is getting messed up. Very weird.
I had the same issue with submitting forms, googled for while and found workaround - in features/support/env.rb one should have this to have webrat doing right job:
Webrat.configure do |config|
config.mode = :rails
config.open_error_files = false
end
This worked for me, appreciate the heads up!
Webrat.configure do |config|
config.mode = :rails
config.open_error_files = false
end
When I fill out a form and submit, it doesn't pass along the form values, it only submits an empty form.
Test server:
Feature:
Output:
This is my Gemfile.lock:
I thought it might be an issue with webrat, but I created a webrat spec to do the same test and it passes: