pa.watchr in pa-1.3.0 vs pa.watchr in pa-1.3.1
- old
+ new
@@ -12,11 +12,11 @@
Signal.trap('QUIT') do
puts "--- Running all tests ---\n\n"
test "spec"
end
-def test path
- cmd = "rspec #{path}"
+def test(path)
+ system "clear"
+ cmd = "bundle exec rspec #{path}"
puts cmd
system cmd
end
-