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:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-06-04 03:08:17 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-06-04 03:08:17 +0300
commit340fd2966e6565a549f8e611b25d2525fc6929d1 (patch)
treebfe8876fe6f2a7c78b9e49feec0bf80d8d45bd52 /spec/features/snippets
parentfc92738a0245f1be88250448bebd9c20e9849444 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/snippets')
-rw-r--r--spec/features/snippets/user_creates_snippet_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/features/snippets/user_creates_snippet_spec.rb b/spec/features/snippets/user_creates_snippet_spec.rb
index 284aa77c742..b100e035d38 100644
--- a/spec/features/snippets/user_creates_snippet_spec.rb
+++ b/spec/features/snippets/user_creates_snippet_spec.rb
@@ -176,6 +176,8 @@ RSpec.shared_examples_for 'snippet editor' do
click_link('Internal')
expect(page).to have_content('My Snippet Title')
+ created_snippet = Snippet.last
+ expect(created_snippet.visibility_level).to eq(Gitlab::VisibilityLevel::INTERNAL)
end
end
end