Ok I got my story to pass by changing the follwing snippet When /I create a product named (.*) described with (.*)/ do |name, description| visits new_product_path fills_in "product[name]", :with => name fills_in "product[description]", :with => description clicks_button "Create" end
don't know why it doesn't work with this: fills_in :name, :with => name Webrat api specs say it should -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users