Commit f4b65ea5fd21fed46a968fe395309befca3efe70

Authored by Evandro Junior
1 parent f4c57c01

fix test

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
test/unit/api/helpers_test.rb
@@ -235,7 +235,7 @@ should 'verify if user filled Serpro\' captcha text' do @@ -235,7 +235,7 @@ should 'verify if user filled Serpro\' captcha text' do
235 } 235 }
236 params = {} 236 params = {}
237 params[:txtToken_captcha_serpro_gov_br] = '4324343' 237 params[:txtToken_captcha_serpro_gov_br] = '4324343'
238 - assert_equal(_('Captcha text has not been filled'), test_captcha('127.0.0.1', params, environment)[0]) 238 + assert_equal(_('Captcha text has not been filled'), test_captcha('127.0.0.1', params, environment)[0]['message'])
239 end 239 end
240 240
241 should 'verify if Serpro\' captcha token has been sent' do 241 should 'verify if Serpro\' captcha token has been sent' do