%w() to %[]

This commit is contained in:
Shinya Maeda 2017-03-07 21:37:14 +09:00
parent af7cb5b931
commit ac00cd1021

View file

@ -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