Sha256: 7c649181ccf9b07cf76d09163d7dba41ba5fc5c58307820b739ca51f8c5a665e
Contents?: true
Size: 353 Bytes
Versions: 12
Compression:
Stored size: 353 Bytes
Contents
require 'spec_helper' describe Anvil::FileAssure, fakefs: true do context 'with an existing file' do before { FileUtils.touch 'dummy_file.txt' } after { FileUtils.rm 'dummy_file.txt' } it { should be_assured('dummy_file.txt') } end context 'with a non existing file' do it { should_not be_assured('dummy_file.txt') } end end
Version data entries
12 entries across 12 versions & 1 rubygems