Commit ca9f9454 authored by Rémy Coutable's avatar Rémy Coutable

Fix 2.7 kwargs deprecation warnings in view specs

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 1ab26e7f
...@@ -26,7 +26,7 @@ RSpec.describe 'groups/edit.html.haml' do ...@@ -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_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_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
end end
......
...@@ -75,7 +75,7 @@ RSpec.describe 'profiles/preferences/show' do ...@@ -75,7 +75,7 @@ RSpec.describe 'profiles/preferences/show' do
end end
def have_integrations_section def have_integrations_section
have_css('#integrations.profile-settings-sidebar', { text: 'Integrations' }) have_css('#integrations.profile-settings-sidebar', text: 'Integrations')
end end
before do 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