Commit 00b7ecb9 authored by Heinrich Lee Yu's avatar Heinrich Lee Yu

Merge branch 'fix-ruby-2.7-warnings-in-view-specs' into 'master'

Fix 2.7 kwargs deprecation warnings in view specs

See merge request gitlab-org/gitlab!44426
parents 62104dfd ca9f9454
......@@ -26,7 +26,7 @@ RSpec.describe 'groups/edit.html.haml' do
expect(rendered).to have_content("Prevent sharing a project within #{test_group.name} with other groups")
expect(rendered).to have_css('.js-descr', text: 'help text here')
expect(rendered).to have_field('group_share_with_group_lock', checkbox_options)
expect(rendered).to have_field('group_share_with_group_lock', **checkbox_options)
end
end
......
......@@ -75,7 +75,7 @@ RSpec.describe 'profiles/preferences/show' do
end
def have_integrations_section
have_css('#integrations.profile-settings-sidebar', { text: 'Integrations' })
have_css('#integrations.profile-settings-sidebar', text: 'Integrations')
end
before do
......
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