summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-03-07 21:37:14 +0900
committerShinya Maeda <gitlab.shinyamaeda@gmail.com>2017-05-03 02:11:51 +0900
commitac00cd1021cd4e2d6b7a11683b0af61065918a1c (patch)
tree9869ba560d58e40b891b3ec21da8e5bf090aec57 /spec
parentaf7cb5b93191453de4ff7561089bb0b0146c688f (diff)
downloadgitlab-ce-ac00cd1021cd4e2d6b7a11683b0af61065918a1c.tar.gz
%w() to %[]
Diffstat (limited to 'spec')
-rw-r--r--spec/finders/pipelines_finder_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/finders/pipelines_finder_spec.rb b/spec/finders/pipelines_finder_spec.rb
index a1c89ba03db..395eb2f9701 100644
--- a/spec/finders/pipelines_finder_spec.rb
+++ b/spec/finders/pipelines_finder_spec.rb
@@ -56,7 +56,7 @@ describe PipelinesFinder do
let(:params) { { scope: 'finished' } }
it 'has only finished status' do
- expect(subject.map(&:status)).to match_array %w(success canceled failed)
+ expect(subject.map(&:status)).to match_array %[success canceled failed]
end
end