summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-07-20 16:33:04 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-07-20 16:33:04 +0800
commit709e805d65ef15081341e12dce6acf356893459b (patch)
tree876592e175c58d41bdaa1dcf6dc40b9d63d9cf32
parentb0f7384f95e94961b6ed91ef0fdddbbe28d77e6e (diff)
downloadgitlab-ce-709e805d65ef15081341e12dce6acf356893459b.tar.gz
That means different things but it's ok here.
rubocop was complaining
-rw-r--r--spec/requests/api/builds_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/builds_spec.rb b/spec/requests/api/builds_spec.rb
index e19c7a98799..871309827c0 100644
--- a/spec/requests/api/builds_spec.rb
+++ b/spec/requests/api/builds_spec.rb
@@ -255,7 +255,7 @@ describe API::API, api: true do
context 'with latest pipeline' do
before do
- pipelines = 3.times.map do # creating some old pipelines
+ pipelines = Array.new(3).map do # creating some old pipelines
create(:ci_pipeline, status: 'success')
end