Sha256: b9e60a6518c5ffae7b1da409cbd3bdcaf899672ce2266e3616fa041e1c0b197f

Contents?: true

Size: 294 Bytes

Versions: 1

Compression:

Stored size: 294 Bytes

Contents

require 'spec_helper'

describe Anvil::FileAssure do
  context 'with an existing file' do
    before { FileUtils.touch '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

1 entries across 1 versions & 1 rubygems

Version Path
anvil-core-0.0.1.alpha.1 spec/lib/assures/file_assure_spec.rb