Commit a154e10478eee957cb2573e05f75d6121656f1ca

Authored by Leandro Santos
1 parent 3cca23ed
Exists in staging and in 1 other branch production

fix unit test

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
lib/noosfero/api/helpers.rb
... ... @@ -427,7 +427,7 @@ require_relative '../../find_by_contents'
427 427 ##########################################
428 428  
429 429 def verify_captcha(remote_ip, params, environment)
430   - captcha_plugin_enabled = @plugins.dispatch(:verify_captcha, remote_ip, params, environment).map {|p| p if ! ( p===nil ) }
  430 + captcha_plugin_enabled = plugins.dispatch(:verify_captcha, remote_ip, params, environment).map {|p| p if ! ( p===nil ) }
431 431 return true if captcha_plugin_enabled.size == 0
432 432 if captcha_plugin_enabled.size > 1
433 433 return render_api_error!(_("Error processing Captcha"), 500, nil, "More than one captcha plugin enabled")
... ...