spec/spec_helper.rb in smallcage-0.2.4 vs spec/spec_helper.rb in smallcage-0.2.5
- old
+ new
@@ -1,10 +1,11 @@
-if RUBY_VERSION >= "1.9.0"
+if RUBY_VERSION >= '1.9.3'
require 'simplecov'
SimpleCov.start do
- add_filter "spec"
+ add_filter 'spec'
end
end
-# required to execute rcov rake task.
-require "rspec/core"
+SPEC_DATA_DIR = File.join(File.dirname(__FILE__), 'data')
+# required to execute rcov rake task.
+require 'rspec/core'