Displaying 1 result from an estimated 1 matches for "new_account_step_one".
2007 Jan 26
0
Problems with assert_select in integration tests
...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=>"TestUser",
:password=>''T3st!ng'', :password_confirmation=>''T3st!ng'',
:account_type=>''Personal'', :email=>...