Skip to content

Commit

Permalink
Fix rubocop complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
philomory committed May 20, 2019
1 parent aa54c50 commit 2829f6f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions spec/defines/aggregator_spec.rb
Expand Up @@ -13,9 +13,9 @@
{
plugin_type: 'basicstats',
options: [
{
{
'period' => '30s',
'drop_original' => false,
'drop_original' => false
}
]
}
Expand Down
10 changes: 5 additions & 5 deletions spec/defines/processor_spec.rb
Expand Up @@ -13,12 +13,12 @@
{
plugin_type: 'regex',
options: [
{
{
'tags' => [
{
'key' => 'foo',
'pattern' => /^a*b+\d$/.source,
'replacement' => 'c${1}d',
'pattern' => %r{^a*b+\d$}.source,
'replacement' => 'c${1}d'
}
]
}
Expand Down Expand Up @@ -50,7 +50,7 @@
end
end
end

context 'my_enum' do
let(:title) { 'my_enum' }
let(:params) do
Expand All @@ -65,7 +65,7 @@
'value_mappings' => {
'green' => 1,
'amber' => 2,
'red' => 3,
'red' => 3
}
}
]
Expand Down

0 comments on commit 2829f6f

Please sign in to comment.