spec/spec_helper.rb in smallcage-0.2.3 vs spec/spec_helper.rb in smallcage-0.2.4
- old
+ new
@@ -1,9 +1,19 @@
\ No newline at end of file
+if RUBY_VERSION >= "1.9.0"
+ require 'simplecov'
+ SimpleCov.start do
+ add_filter "spec"
+ end
+end
+
+# required to execute rcov rake task.
+require "rspec/core"
+