Sha256: 6184ed9919023444bb7de06bfcd2e90d8cc52a3ece53309fdf91baf2992f1fd4
Contents?: true
Size: 898 Bytes
Versions: 6
Compression:
Stored size: 898 Bytes
Contents
# A sample Guardfile # More info at https://github.com/guard/guard#readme guard 'minitest' do # with Minitest::Unit watch(%r|^test/(.*)\/?(.*)_test\.rb|) watch(%r|^lib/(.*)([^/]+)\.rb|) { |m| "test/#{m[1]}test_#{m[2]}.rb" } watch(%r|^test/test_helper\.rb|) { "test" } watch(%r|^test/factories\.rb|) { "test" } # with Minitest::Spec # watch(%r|^spec/(.*)_spec\.rb|) # watch(%r|^lib/(.*)([^/]+)\.rb|) { |m| "spec/#{m[1]}#{m[2]}_spec.rb" } # watch(%r|^spec/spec_helper\.rb|) { "spec" } # Rails 3.2 watch(%r|^app/controllers/cardboard/(.*)\.rb|) { |m| "test/controllers/#{m[1]}_test.rb" } watch(%r|^app/helpers/cardboard/(.*)\.rb|) { |m| "test/helpers/#{m[1]}_test.rb" } watch(%r|^app/models/cardboard/(.*)\.rb|) { |m| "test/models/#{m[1]}_test.rb" } watch(%r|^lib/cardboard/helpers/seed\.rb|) { "test/integration/seeding_test.rb" } end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
cardboard_cms-0.3.1 | Guardfile |
cardboard_cms-0.2.2 | Guardfile |
cardboard_cms-0.2.1 | Guardfile |
cardboard_cms-0.1.8 | Guardfile |
cardboard_cms-0.1.6 | Guardfile |
cardboard_cms-0.1.4 | Guardfile |