Skip to content

Commit

Permalink
added has_role test with multiple roles
Browse files Browse the repository at this point in the history
  • Loading branch information
stffn committed Apr 14, 2010
1 parent 9d3a0a8 commit e7ceade
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/helper_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def test_has_role

assert has_role?(:test_role)
assert !has_role?(:test_role2)
assert !has_role?(:test_role, :test_role2)

block_evaled = false
has_role?(:test_role) do
Expand Down

0 comments on commit e7ceade

Please sign in to comment.