database_cleaner/Guardfile

7 lines
189 B
Text
Raw Permalink 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