Sha256: 7fc782354444817de539a3cf359915c60bb1f05085d3bc9830220fab3693098f

Contents?: true

Size: 457 Bytes

Versions: 2

Compression:

Stored size: 457 Bytes

Contents

directories %w(lib spec config)

guard_rspec_options = {
  cmd: "bin/rspec",
  title: "Action::State",
  failed_mode: :focus,
  all_after_pass: true
}

guard :rspec, guard_rspec_options do
  require "guard/rspec/dsl"
  dsl = Guard::RSpec::Dsl.new(self)
  rspec = dsl.rspec
  watch(rspec.spec_helper) { rspec.spec_dir }
  watch(rspec.spec_support) { rspec.spec_dir }
  watch(rspec.spec_files)
  ruby = dsl.ruby
  dsl.watch_spec_files_for(ruby.lib_files)
end

Version data entries

2 entries across 1 versions & 1 rubygems

Version Path
action-plan-0.1.0 Guardfile
action-plan-0.1.0 config/Guardfile