database_cleaner/Guardfile

6 lines
188 B
Text
Raw Normal View History

2018-04-30 22:19:37 -04:00
guard :rspec, cmd: "bundle exec rspec" do
watch(%r{^spec/.+_spec\.rb$})
watch(%r{^lib/(.+)\.rb$}) { |m| "spec/lib/#{m[1]}_spec.rb" }
watch("spec/spec_helper.rb") { "spec" }
end