Commit d9efe580 authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch...

Merge branch '219151-follow-up-from-fallback-to-lowest-visibility-level-in-snippet-visibility-radio' into 'master'

Resolve "Follow-up from "Fallback to lowest visibility level in snippet visibility radio""

Closes #219151

See merge request gitlab-org/gitlab!33388
parents 88bc5b9e 4c5ee6ee
---
title: Add snippet DB visibility check in spec
merge_request: 33388
author: Jacopo Beschi @jacopo-beschi
type: changed
......@@ -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
......
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