Commit c31a920e authored by Mark Chao's avatar Mark Chao

Merge branch 'fix_capybara_keyword_warning' into 'master'

Fix ruby 2.7 keyword deprecation

See merge request gitlab-org/gitlab!48742
parents 679e3061 329198c4
...@@ -93,7 +93,7 @@ RSpec.describe 'Issues > Epic bulk assignment', :js do ...@@ -93,7 +93,7 @@ RSpec.describe 'Issues > Epic bulk assignment', :js do
page.within('.issues-bulk-update') do page.within('.issues-bulk-update') do
click_button 'Select epic' click_button 'Select epic'
items.map do |item| items.map do |item|
find('.gl-link', { text: item }).click find('.gl-link', text: item).click
end end
end end
end end
......
...@@ -113,7 +113,7 @@ RSpec.describe 'Issues > Health status bulk assignment' do ...@@ -113,7 +113,7 @@ RSpec.describe 'Issues > Health status bulk assignment' do
page.within('.issues-bulk-update') do page.within('.issues-bulk-update') do
click_button 'Select health status' click_button 'Select health status'
items.map do |item| items.map do |item|
find('.gl-button-text', { text: item }).click find('.gl-button-text', text: item).click
end end
end 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