Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-08-30 23:51:03 +0300
committerMike Greiling <mike@pixelcog.com>2017-08-30 23:51:03 +0300
commit8a72203a589bc3b7a74f5dd60a3c607d21436e6a (patch)
tree3204aa7acf8ca76f060c82ca6a10ab70ab730664 /spec/helpers/visibility_level_helper_spec.rb
parent6dd69950edf6b98600d0bead148969ef347bc1ec (diff)
update test to match new disabled option description
Diffstat (limited to 'spec/helpers/visibility_level_helper_spec.rb')
-rw-r--r--spec/helpers/visibility_level_helper_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/helpers/visibility_level_helper_spec.rb b/spec/helpers/visibility_level_helper_spec.rb
index bd15abf5469..0375fa600ed 100644
--- a/spec/helpers/visibility_level_helper_spec.rb
+++ b/spec/helpers/visibility_level_helper_spec.rb
@@ -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