Bacon_FS
Matchers for Bacon, github.com/chneukirchen/bacon/, when interacting with files.
Install
In your Gemfile:
begin rdoc
gem ‘Bacon_FS’
end
Usage:
begin rdoc
require ‘Bacon_FS’
describe ‘My home files.’ do
before {
include Bacon_FS::DSL
}
it 'should be a file' do
"~/.bashrc".should.be.a file
end
it 'should be a directory' do
"~/.ssh".should.be.a directory
end
end
end
Copyright
Copyright © 2011 da99. See LICENSE.txt for further details.