Permalink
Browse files

Fixes bug with test running setup in Ruby 1.8

This bug was introduced in 
1fad7d7.
  • Loading branch information...
1 parent 1fad7d7 commit 4913356c54df078b6f406523503034ebda549a5a @vesan committed Jun 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/spec_helper.rb
View
2 spec/spec_helper.rb
@@ -1,4 +1,4 @@
-if RUBY_ENGINE == "ruby"
+if defined? RUBY_ENGINE && RUBY_ENGINE == "ruby"
require "simplecov"
SimpleCov.start
end

0 comments on commit 4913356

Please sign in to comment.