Switch to RSpec

This commit is contained in:
2018-06-28 14:04:00 -07:00
parent d166fb110d
commit 180dfc482e
13 changed files with 161 additions and 62 deletions

View File

@@ -1,5 +1,5 @@
guard :minitest do
watch(%r{^test/(.*)\/?(.*)_test\.rb$})
watch(%r{^lib/(.*/)?([^/]+)\.rb$}) { |m| "test/#{m[1]}#{m[2]}_test.rb" }
watch(%r{^test/test_helper\.rb$}) { 'test' }
guard :rspec, cmd: 'rspec' do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/manifique/(.+)\.rb$}) { |m| "spec/manifique/#{m[1]}_spec.rb" }
watch('spec/spec_helper.rb') { "spec" }
end