Commit 85af08ac5ff36ed1457cc46712012e83ccb23217
1 parent
7d89d1f3
Exists in
master
and in
27 other branches
rails3: fix enterprive_validation_controller tests
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
test/functional/enterprise_validation_controller_test.rb
@@ -35,7 +35,7 @@ class EnterpriseValidationControllerTest < ActionController::TestCase | @@ -35,7 +35,7 @@ class EnterpriseValidationControllerTest < ActionController::TestCase | ||
35 | empty = [] | 35 | empty = [] |
36 | @org.expects(:pending_validations).returns(empty) | 36 | @org.expects(:pending_validations).returns(empty) |
37 | get :index, :profile => 'myorg' | 37 | get :index, :profile => 'myorg' |
38 | - assert_same empty, assigns(:pending_validations) | 38 | + assert_equal empty, assigns(:pending_validations) |
39 | assert_template 'index' | 39 | assert_template 'index' |
40 | end | 40 | end |
41 | 41 | ||
@@ -93,7 +93,7 @@ class EnterpriseValidationControllerTest < ActionController::TestCase | @@ -93,7 +93,7 @@ class EnterpriseValidationControllerTest < ActionController::TestCase | ||
93 | 93 | ||
94 | get :list_processed, :profile => 'myorg' | 94 | get :list_processed, :profile => 'myorg' |
95 | 95 | ||
96 | - assert_same processed_validations, assigns(:processed_validations) | 96 | + assert_equal processed_validations, assigns(:processed_validations) |
97 | 97 | ||
98 | assert_response :success | 98 | assert_response :success |
99 | assert_template 'list_processed' | 99 | assert_template 'list_processed' |