Revision acfbc458
Added by Marek Hulán about 10 years ago
test/unit/helpers/host_groups_helper_test.rb | ||
---|---|---|
|
||
test "should have the full string of the parent class if the child is a substring" do
|
||
test_group = Hostgroup.create(:name => "test/st")
|
||
stubs(:url_for).returns('/some/url')
|
||
assert_match /test\/st/, label_with_link(test_group)
|
||
refute_match /te\/st/, label_with_link(test_group)
|
||
end
|
Also available in: Unified diff
fixes #812 - new permissions model, user group role and nest support, role filters for better granularity
Contributions from: