Uses invisible_captcha's default "foo fast" action
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user