Commit 8a72203a authored by Mike Greiling's avatar Mike Greiling

update test to match new disabled option description

parent 6dd69950
......@@ -120,7 +120,7 @@ describe VisibilityLevelHelper do
describe "project" do
it "provides correct description for disabled levels" do
expect(disallowed_visibility_level?(project, Gitlab::VisibilityLevel::PUBLIC)).to be_truthy
expect(disallowed_visibility_level_description(Gitlab::VisibilityLevel::PUBLIC, project))
expect(strip_tags disallowed_visibility_level_description(Gitlab::VisibilityLevel::PUBLIC, project))
.to include "the visibility of #{project.group.name} is internal"
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment