Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (26 sloc) 1.553 kB
\unset ECHO
1..24
ok 1 - has_role(current role) should pass
ok 2 - has_role(current role) should have the proper description
ok 3 - has_role(current role) should have the proper diagnostics
ok 4 - has_role(current role, desc) should pass
ok 5 - has_role(current role, desc) should have the proper description
ok 6 - has_role(current role, desc) should have the proper diagnostics
ok 7 - has_role(nonexistent role) should fail
ok 8 - has_role(nonexistent role) should have the proper description
ok 9 - has_role(nonexistent role) should have the proper diagnostics
ok 10 - has_role(nonexistent role, desc) should fail
ok 11 - has_role(nonexistent role, desc) should have the proper description
ok 12 - has_role(nonexistent role, desc) should have the proper diagnostics
ok 13 - hasnt_role(current role) should fail
ok 14 - hasnt_role(current role) should have the proper description
ok 15 - hasnt_role(current role) should have the proper diagnostics
ok 16 - hasnt_role(current role, desc) should fail
ok 17 - hasnt_role(current role, desc) should have the proper description
ok 18 - hasnt_role(current role, desc) should have the proper diagnostics
ok 19 - hasnt_role(nonexistent role) should pass
ok 20 - hasnt_role(nonexistent role) should have the proper description
ok 21 - hasnt_role(nonexistent role) should have the proper diagnostics
ok 22 - hasnt_role(nonexistent role, desc) should pass
ok 23 - hasnt_role(nonexistent role, desc) should have the proper description
ok 24 - hasnt_role(nonexistent role, desc) should have the proper diagnostics
Jump to Line
Something went wrong with that request. Please try again.