1 require "application_system_test_case"
3 class ConfirmationResendSystemTest < ApplicationSystemTestCase
8 fill_in "Email", :with => @user.email
9 fill_in "Email Confirmation", :with => @user.email
10 fill_in "Display Name", :with => @user.display_name
11 fill_in "Password", :with => "testtest"
12 fill_in "Confirm Password", :with => "testtest"
13 click_button "Sign Up"
15 check "I have read and agree to the above contributor terms"
16 check "I have read and agree to the Terms of Use"
17 click_button "Continue"
20 test "flash message should not contain raw html" do
21 visit user_confirm_resend_path(@user)
23 assert page.has_content?("sent a new confirmation")
24 assert_not page.has_content?("<p>")