diff options
author | Gabriel Mazetto <gabriel@gitlab.com> | 2016-08-06 05:03:01 +0300 |
---|---|---|
committer | Gabriel Mazetto <gabriel@gitlab.com> | 2016-08-06 05:03:01 +0300 |
commit | c9aa19881cf719baaea1bbb9bb00f84145a99b8b (patch) | |
tree | 59a90d5ae7fd50a27bb3a389c721b3bc228b9cc1 /spec/support | |
parent | aa49c20e81210d8b397287eb1ec10a29bcd2f132 (diff) |
Enable Style/SpaceAroundEqualsInParameterDefault cop
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/select2_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/select2_helper.rb b/spec/support/select2_helper.rb index 04d25b5e9e9..35cc51725c6 100644 --- a/spec/support/select2_helper.rb +++ b/spec/support/select2_helper.rb @@ -11,7 +11,7 @@ # module Select2Helper - def select2(value, options={}) + def select2(value, options = {}) raise ArgumentError, 'options must be a Hash' unless options.kind_of?(Hash) selector = options.fetch(:from) |