summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/data_builder
diff options
context:
space:
mode:
authorAndrew Newdigate <andrew@gitlab.com>2019-01-24 15:43:02 +0200
committerAndrew Newdigate <andrew@gitlab.com>2019-01-29 21:05:30 +0200
commitff0b2cc61fff18186572084790bb0a054090b917 (patch)
tree88e3afefb751249389afdb627a23ceb7f26bfc7a /spec/lib/gitlab/data_builder
parent96516f7ef32c16d8b85d4be3d8d0252f81341c99 (diff)
downloadgitlab-ce-ff0b2cc61fff18186572084790bb0a054090b917.tar.gz
Re-enable MethodCallWithoutArgsParentheses Cop
Re-enables and autocorrects all instances of the Style/MethodCallWithoutArgsParentheses rule
Diffstat (limited to 'spec/lib/gitlab/data_builder')
-rw-r--r--spec/lib/gitlab/data_builder/pipeline_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/data_builder/pipeline_spec.rb b/spec/lib/gitlab/data_builder/pipeline_spec.rb
index 98f1696badb..9ef987a0826 100644
--- a/spec/lib/gitlab/data_builder/pipeline_spec.rb
+++ b/spec/lib/gitlab/data_builder/pipeline_spec.rb
@@ -37,7 +37,7 @@ describe Gitlab::DataBuilder::Pipeline do
context 'pipeline without variables' do
it 'has empty variables hash' do
expect(attributes[:variables]).to be_a(Array)
- expect(attributes[:variables]).to be_empty()
+ expect(attributes[:variables]).to be_empty
end
end