Sha256: 154d8fe2365bd545bd088bad4127cdf42fc6762495af44262af996a2799ec3c5
Contents?: true
Size: 526 Bytes
Versions: 19
Compression:
Stored size: 526 Bytes
Contents
require 'spec_helper' describe 'CLI', 'appraisal clean' do it 'remove all gemfiles from gemfiles directory' do build_appraisal_file <<-Appraisal appraise '1.0.0' do gem 'dummy', '1.0.0' end Appraisal run 'appraisal install' write_file 'gemfiles/non_related_file', '' run 'appraisal clean' expect(file 'gemfiles/1.0.0.gemfile').not_to be_exists expect(file 'gemfiles/1.0.0.gemfile.lock').not_to be_exists expect(file 'gemfiles/non_related_file').to be_exists end end
Version data entries
19 entries across 17 versions & 3 rubygems