Displaying 1 result from an estimated 1 matches for "accountcreationtest".
Did you mean:
account_creation_test
2007 Jan 26
0
Problems with assert_select in integration tests
.... However if I print out the response
object, it has the exact text of what I''m trying to match.
Here is the complete integration test. The failure occures on the
first assert_select in the second call to click_button.
require "#{File.dirname(__FILE__)}/../test_helper"
class AccountCreationTest < ActionController::IntegrationTest
def test_personal_account_creation
goto_home_page
click_link "Create Account", "/account/new_account_step_one"
click_button "Next Step", "/account/new_account_step_one",
:user=>{:username=>"Test...