.watchr in mongoid-0.4.5 vs .watchr in mongoid-0.4.7
- old
+ new
@@ -6,6 +6,6 @@
def spec(file)
run "spec -O spec/spec.opts #{file}"
end
watch("spec/.*/*_spec\.rb") {|md| p md[0]; spec(md[0]) }
-watch('lib/.*/(.*)\.rb') {|md| p md[1]; spec("spec/unit/mongoid/#{md[1]}_spec.rb") }
+watch('lib/(.*/.*)\.rb') {|md| p md[1]; spec("spec/unit/#{md[1]}_spec.rb") }