test/expectations/test_success.rb in mynyml-redgreen-0.5.2 vs test/expectations/test_success.rb in mynyml-redgreen-0.6
- old
+ new
@@ -1,10 +1,12 @@
-require 'pathname'
+unless RUBY_VERSION >= '1.9'
+
require 'expectations'
-root = Pathname(__FILE__).dirname.parent.parent
-require root + 'lib/redgreen'
+require 'lib/redgreen'
Expectations do
expect "THIS TEST SHOULD PASS" do
"THIS TEST SHOULD PASS"
end
+end
+
end