diff --git a/app/create.rb b/app/create.rb index 172513bb..9829955b 100644 --- a/app/create.rb +++ b/app/create.rb @@ -30,7 +30,7 @@ post '/create_validate_all' do site = Site.new fields if site.valid? - return [].to_json if education_whitelisted? || params[:'g-recaptcha-response'] + return [].to_json if education_whitelisted? || params[:'g-recaptcha-response'] || self.class.test? return [['captcha', 'Please complete the captcha.']].to_json end