diff options
Diffstat (limited to 'spec/views/projects/merge_requests/creations/_new_submit.html.haml_spec.rb')
-rw-r--r-- | spec/views/projects/merge_requests/creations/_new_submit.html.haml_spec.rb | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/views/projects/merge_requests/creations/_new_submit.html.haml_spec.rb b/spec/views/projects/merge_requests/creations/_new_submit.html.haml_spec.rb index 038a94fe7c3..feb82e6a2b2 100644 --- a/spec/views/projects/merge_requests/creations/_new_submit.html.haml_spec.rb +++ b/spec/views/projects/merge_requests/creations/_new_submit.html.haml_spec.rb @@ -35,17 +35,4 @@ RSpec.describe 'projects/merge_requests/creations/_new_submit.html.haml' do expect(rendered).not_to have_text('Builds') end end - - context 'when there are hidden commits' do - before do - assign(:pipelines, Ci::Pipeline.none) - assign(:hidden_commit_count, 2) - end - - it 'shows notice about omitted commits' do - render - - expect(rendered).to match(/2 additional commits have been omitted to prevent performance issues/) - end - end end |