summaryrefslogtreecommitdiffstats
path: root/test/functional/roles_controller_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/roles_controller_test.rb')
-rw-r--r--test/functional/roles_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/roles_controller_test.rb b/test/functional/roles_controller_test.rb
index 03cd91ab2..d86943966 100644
--- a/test/functional/roles_controller_test.rb
+++ b/test/functional/roles_controller_test.rb
@@ -203,6 +203,6 @@ class RolesControllerTest < ActionController::TestCase
def test_move_lowest
put :update, :id => 2, :role => {:move_to => 'lowest'}
assert_redirected_to '/roles'
- assert_equal Role.count, Role.find(2).position
+ assert_equal Role.givable.count, Role.find(2).position
end
end