diff options
| author | Lamont Granquist <lamont@scriptkiddie.org> | 2019-07-02 15:13:58 -0700 |
|---|---|---|
| committer | Lamont Granquist <lamont@scriptkiddie.org> | 2019-07-02 15:13:58 -0700 |
| commit | d7478e406d0bdcc15c8122fb7b4e39ad3208c9ac (patch) | |
| tree | fd7eaa3d882d97d7013c57dda2886b9dbe7dd390 /spec/unit/http | |
| parent | e71560df5cebbfb209089c6255e37e65f0e34d95 (diff) | |
| download | chef-d7478e406d0bdcc15c8122fb7b4e39ad3208c9ac.tar.gz | |
Style/MethodCallWithoutArgsParentheses
zero args methods don't get parens.
this certainly reads better than the inverse.
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/unit/http')
| -rw-r--r-- | spec/unit/http/json_input_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/http/json_input_spec.rb b/spec/unit/http/json_input_spec.rb index a76c8d1dc7..cddad20f55 100644 --- a/spec/unit/http/json_input_spec.rb +++ b/spec/unit/http/json_input_spec.rb @@ -21,7 +21,7 @@ require "chef/http/json_input" describe Chef::HTTP::JSONInput do - let(:json_encoder) { described_class.new() } + let(:json_encoder) { described_class.new } let(:url) { URI.parse("http://example.com") } let(:headers) { {} } |
