class Preseason::Recipe::Guard

Public Instance Methods

prepare() click to toggle source
# File lib/preseason/recipe/guard.rb, line 2
def prepare
  run 'bundle exec guard init'
  gsub_file 'Guardfile', ":cucumber_env => { 'RAILS_ENV' => 'test' }, ", ''
  gsub_file 'Guardfile', "guard 'rspec' do", "guard 'rspec', :cli => '--drb --format Fuubar --tag focus', :all_after_pass => false, :all_on_start => false do"
end