Uses invisible_captcha's default "foo fast" action

This commit is contained in:
kikito
2016-04-28 12:47:04 +02:00
parent 8bcbe86064
commit 9ac6e2d60b
11 changed files with 10 additions and 14 deletions

View File

@@ -139,7 +139,7 @@ feature 'Debates' do
expect(page).to have_content 'Sorry, that was too quick! Please resubmit'
expect(current_path).to eq(proposals_path)
expect(current_path).to eq(new_debate_path)
end
scenario 'Errors on create' do

View File

@@ -55,7 +55,7 @@ feature 'Organizations' do
expect(page).to have_content 'Sorry, that was too quick! Please resubmit'
expect(current_path).to eq(root_path)
expect(current_path).to eq(new_organization_registration_path)
end
scenario 'Errors on create' do

View File

@@ -185,7 +185,7 @@ feature 'Proposals' do
expect(page).to have_content 'Sorry, that was too quick! Please resubmit'
expect(current_path).to eq(proposals_path)
expect(current_path).to eq(new_proposal_path)
end
scenario 'Responsible name is stored for anonymous users' do

View File

@@ -75,7 +75,7 @@ feature 'Registration form' do
expect(page).to have_content 'Sorry, that was too quick! Please resubmit'
expect(current_path).to eq(root_path)
expect(current_path).to eq(new_user_registration_path)
end

View File

@@ -141,7 +141,7 @@ feature 'Spending proposals' do
click_button 'Create'
expect(page).to have_content 'Sorry, that was too quick! Please resubmit'
expect(current_path).to eq(proposals_path)
expect(current_path).to eq(new_spending_proposal_path)
end
scenario 'Create notice' do