Commit 7dfc252b authored by Michael Kozono's avatar Michael Kozono

Merge branch '257438-fix-keyword-args-groups-edit-haml-spec' into 'master'

Fix keywords args warning on groups edit specs

See merge request gitlab-org/gitlab!48781
parents 4fc145c1 103cf461
......@@ -20,9 +20,9 @@ RSpec.describe 'groups/edit.html.haml' do
expect(rendered).to render_template('groups/settings/_ip_restriction')
expect(rendered).to(have_field('group_ip_restriction_ranges',
{ disabled: false,
with: ranges.join(","),
type: :hidden }))
disabled: false,
with: ranges.join(","),
type: :hidden))
end
end
......@@ -31,7 +31,7 @@ RSpec.describe 'groups/edit.html.haml' do
render
expect(rendered).to render_template('groups/settings/_ip_restriction')
expect(rendered).not_to have_field('group_ip_restriction_ranges', { type: :hidden })
expect(rendered).not_to have_field('group_ip_restriction_ranges', type: :hidden)
end
end
......@@ -83,9 +83,9 @@ RSpec.describe 'groups/edit.html.haml' do
expect(rendered).to render_template('groups/settings/_allowed_email_domain')
expect(rendered).to(have_field('group_allowed_email_domains_list',
{ disabled: false,
with: domains.join(","),
type: :hidden }))
disabled: false,
with: domains.join(","),
type: :hidden))
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