Bacon_FS_Matchers
Matchers for Bacon, github.com/chneukirchen/bacon/, when interacting with files.
Install
In your Gemfile:
begin rdoc
gem ‘Bacon_FS_Matchers’, :git => ‘git://gitorious.org/da99_ruby_gems/bacon_fs_matchers.git’
end
Usage:
begin rdoc
require ‘Bacon_FS_Matchers’ include Bacon_FS_Matchers::DSL
describe ‘My home files.’ do
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.