I am not sure why my form submission is failing (request test). I am calling:
# form is filled in a 'before do' block.
it "should create an account" do
expect { click_button "Create" }.to change(Account, :count).by(1)
end
Could I somehow view the HTML after the click_button call?
Manually submitting the form works fine for me, so I'm confused.
_______________________________________________ rspec-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/rspec-users
