Commit 0cf7126476f065436de4553549650628e23bc10f
1 parent
4eb9f4aa
Exists in
master
and in
9 other branches
Fix gov_user test
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/noosfero-spb/gov_user/test/functional/gov_user_plugin_controller_test.rb
@@ -116,8 +116,8 @@ class GovUserPluginControllerTest < ActionController::TestCase | @@ -116,8 +116,8 @@ class GovUserPluginControllerTest < ActionController::TestCase | ||
116 | xhr :get, :new_institution, fields | 116 | xhr :get, :new_institution, fields |
117 | json_response = ActiveSupport::JSON.decode(@response.body) | 117 | json_response = ActiveSupport::JSON.decode(@response.body) |
118 | 118 | ||
119 | - assert_false json_response["success"] | ||
120 | - assert_false json_response["errors"].blank? | 119 | + assert_equal false, json_response["success"] |
120 | + assert_equal false, json_response["errors"].blank? | ||
121 | end | 121 | end |
122 | 122 | ||
123 | should "create public institution without cnpj" do | 123 | should "create public institution without cnpj" do |