fixes specs by using the correct capthca helper instead of deactivating it
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
SimpleCaptcha.always_pass = Rails.env.test?
|
||||
SimpleCaptcha.always_pass = false
|
||||
|
||||
SimpleCaptcha.setup do |sc|
|
||||
# default: 100x28
|
||||
|
||||
@@ -12,6 +12,7 @@ feature 'Organizations' do
|
||||
fill_in 'user_email', with: 'green@peace.com'
|
||||
fill_in 'user_password', with: 'greenpeace'
|
||||
fill_in 'user_password_confirmation', with: 'greenpeace'
|
||||
fill_in 'user_captcha', with: correct_captcha_text
|
||||
|
||||
click_button 'Sign up'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user