Commit b3572c23fa9a3306468a39756bd4584c844cdf55

Authored by Evandro Junior
2 parents ed3f9afe 339d789c

Merge branch 'api' into production

* api:
  fix test
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
test/unit/api/helpers_test.rb
@@ -267,7 +267,7 @@ should 'verify if user filled Serpro\' captcha text' do @@ -267,7 +267,7 @@ should 'verify if user filled Serpro\' captcha text' do
267 } 267 }
268 params = {} 268 params = {}
269 params[:txtToken_captcha_serpro_gov_br] = '4324343' 269 params[:txtToken_captcha_serpro_gov_br] = '4324343'
270 - assert_equal(_('Captcha text has not been filled'), test_captcha('127.0.0.1', params, environment)[0]) 270 + assert_equal(_('Captcha text has not been filled'), test_captcha('127.0.0.1', params, environment)[0]['message'])
271 end 271 end
272 272
273 should 'verify if Serpro\' captcha token has been sent' do 273 should 'verify if Serpro\' captcha token has been sent' do