diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-03 12:07:28 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-03 12:07:28 +0000 |
commit | 5fabe42e23beba3fbe393e566a5a4ebde2062c61 (patch) | |
tree | 9a2dfa55656973763fcc05ac393bd2bd06125935 /spec/features/projects/snippets | |
parent | 4df4a22481c3ed10e22cdb795dd6d811c4e89fde (diff) | |
download | gitlab-ce-5fabe42e23beba3fbe393e566a5a4ebde2062c61.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/projects/snippets')
-rw-r--r-- | spec/features/projects/snippets/create_snippet_spec.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/features/projects/snippets/create_snippet_spec.rb b/spec/features/projects/snippets/create_snippet_spec.rb index 0ed9e23c7f8..cbdf6d6852e 100644 --- a/spec/features/projects/snippets/create_snippet_spec.rb +++ b/spec/features/projects/snippets/create_snippet_spec.rb @@ -85,13 +85,4 @@ RSpec.describe 'Projects > Snippets > Create Snippet', :js do expect(page).to have_content('New Snippet') end end - - it 'does not allow submitting the form without title and content' do - snippet_fill_in_title(title) - - expect(page).not_to have_button('Create snippet') - - snippet_fill_in_form(title: title, content: file_content) - expect(page).to have_button('Create snippet') - end end |