Sha256: f67b3db82000caf57e19ef74094a79378a5cf6364579abde2c3ca14d8085e189

Contents?: true

Size: 539 Bytes

Versions: 6

Compression:

Stored size: 539 Bytes

Contents

guard :rspec, notification: true, cmd: 'rspec', 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

6 entries across 6 versions & 1 rubygems

Version Path
rails_spec_harness-0.0.9 lib/generators/harness_guardfile/templates/Guardfile
rails_spec_harness-0.0.8 lib/generators/harness_guardfile/templates/Guardfile
rails_spec_harness-0.0.7 lib/generators/harness_guardfile/templates/Guardfile
rails_spec_harness-0.0.6 lib/generators/harness_guardfile/templates/Guardfile
rails_spec_harness-0.0.5 lib/generators/harness_guardfile/templates/Guardfile
rails_spec_harness-0.0.4 lib/generators/harness_guardfile/templates/Guardfile