Sha256: b6aa9b2da506125d8b8e95d9229b93d44913bd04717499b282bbd86e13335020
Contents?: true
Size: 607 Bytes
Versions: 13
Compression:
Stored size: 607 Bytes
Contents
require 'spec_helper' describe 'CLI', 'appraisal list' do it 'prints list of appraisals' do build_appraisal_file <<-Appraisal appraise '1.0.0' do gem 'dummy', '1.0.0' end appraise '2.0.0' do gem 'dummy', '1.0.0' end appraise '1.1.0' do gem 'dummy', '1.0.0' end Appraisal output = run 'appraisal list' expect(output).to eq("1.0.0\n2.0.0\n1.1.0\n") end it 'prints nothing if there are no appraisals in the file' do build_appraisal_file '' output = run 'appraisal list' expect(output.length).to eq(0) end end
Version data entries
13 entries across 13 versions & 3 rubygems