Skip to content

Commit

Permalink
rubocop: autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed Dec 31, 2019
1 parent bd95a10 commit 21a1997
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/unit/puppet/type/rabbitmq_policy_spec.rb
Expand Up @@ -44,7 +44,7 @@
end

it 'accepts valid value for applyto' do
[:all, :exchanges, :queues].each do |v|
%i[all exchanges queues].each do |v|
policy[:applyto] = v
expect(policy[:applyto]).to eq(v)
end
Expand Down
2 changes: 1 addition & 1 deletion spec/unit/puppet/type/rabbitmq_user_permissions_spec.rb
Expand Up @@ -18,7 +18,7 @@
perms[:name] = 'bar'
end.to raise_error(Puppet::Error, %r{Valid values match})
end
[:configure_permission, :read_permission, :write_permission].each do |param|
%i[configure_permission read_permission write_permission].each do |param|
it 'does not default to anything' do
expect(perms[param]).to eq(nil)
end
Expand Down

0 comments on commit 21a1997

Please sign in to comment.