Sha256: d68692425dbadd03e407c29f35cc7ba05598fd3ff556eb0303a2f962d0de45b5
Contents?: true
Size: 365 Bytes
Versions: 3
Compression:
Stored size: 365 Bytes
Contents
# coding: utf-8 require 'spec_helper' describe 'Retter::Command#clean', clean: :all do let(:cache_path) { %(#{Retter::Site.config.cache.cache_path}/*) } before do write_to_wip_file 'hi' invoke_command :rebind flunk if Dir.glob(cache_path).empty? invoke_command :clean end subject { Dir.glob(cache_path) } it { should be_empty } end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
retter-0.2.5 | spec/command/clean_spec.rb |
retter-0.2.4 | spec/command/clean_spec.rb |
retter-0.2.3 | spec/command/clean_spec.rb |