Sha256: 2e0dfa328a3c1e8531c3ab87f00ef4e235492b11a741a57210c8e3ed070b01ab

Contents?: true

Size: 569 Bytes

Versions: 3

Compression:

Stored size: 569 Bytes

Contents

guard :rspec, notification: true, cmd: 'rspec --color --format nested --tty', spec_paths: <%= spec_paths %> do
  watch(%r{^spec/(<%= spec_type_matcher %>)/.+_spec\.rb$})
  watch(%r{^spec/(<%= spec_type_matcher %>)_spec_helper\.rb$}) { |m| "spec/#{m[1]}" }
  watch(%r{^spec/support_(<%= spec_type_matcher %>)/(.+)\.rb$}) { |m| "spec/#{m[1]}" }
  watch(%r{^app/(<%= spec_type_matcher %>)/(.+)\.rb$}) { |m| "spec/#{m[1]}/#{m[2]}_spec.rb" }
  
  watch('/spec/base_spec_helper.rb') { <%= spec_paths %> }
  watch(%r{^spec/support_common/(.+)\.rb$}) { <%= spec_paths %> }
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails_spec_harness-0.0.3 lib/generators/harness_guardfile/templates/Guardfile
rails_spec_harness-0.0.2 lib/generators/harness_guardfile/templates/Guardfile
rails_spec_harness-0.0.1 lib/generators/harness_guardfile/templates/Guardfile