Sha256: 0e5437485b23d8f6ac1289d08380412013235447a5b4a486227ef81c1c69da1a

Contents?: true

Size: 715 Bytes

Versions: 1

Compression:

Stored size: 715 Bytes

Contents

guard 'rspec', cmd: 'bundle exec rspec' do
  watch('spec/spec_helper.rb')                       { 'spec' }
  watch('config/routes.rb')                          { 'spec/controllers' }
  watch(%r{^spec/(.+)_spec\.rb$})                    { |m| "spec/#{m[1]}_spec.rb" }
  watch(%r{^app/(.+)_decorator\.rb$})                { |m| "spec/#{m[1]}_spec.rb" }
  watch(%r{^app/(.+)\.rb$})                          { |m| "spec/#{m[1]}_spec.rb" }
  watch(%r{^app/(.*)(\.erb)$})                       { |m| "spec/#{m[1]}#{m[2]}_spec.rb" }
  watch(%r{^lib/(.+)\.rb$})                          { |m| "spec/#{m[1]}_spec.rb" }
  watch(%r{^app/controllers/(.+)_(controller)\.rb$}) { |m| "spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb" }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
solidus_related_products-1.0.0 Guardfile