summaryrefslogtreecommitdiff
path: root/spec/features/merge_requests/mini_pipeline_graph_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/merge_requests/mini_pipeline_graph_spec.rb')
-rw-r--r--spec/features/merge_requests/mini_pipeline_graph_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/merge_requests/mini_pipeline_graph_spec.rb b/spec/features/merge_requests/mini_pipeline_graph_spec.rb
index bf21a719901..bac56270362 100644
--- a/spec/features/merge_requests/mini_pipeline_graph_spec.rb
+++ b/spec/features/merge_requests/mini_pipeline_graph_spec.rb
@@ -92,7 +92,7 @@ feature 'Mini Pipeline Graph', :js do
end
it 'should close when toggle is clicked again' do
- toggle.trigger('click')
+ toggle.click
expect(toggle.find(:xpath, '..')).not_to have_selector('.mini-pipeline-graph-dropdown-menu')
end