Commit 103cf461 authored by Tan Le's avatar Tan Le

Fix keywords args warning on groups edit specs

parent f45d1efd
......@@ -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