spec/spec_helper.rb in hexx-rspec-0.2.1 vs spec/spec_helper.rb in hexx-rspec-0.2.2
- old
+ new
@@ -1,10 +1,13 @@
+# encoding: utf-8
+
# Loads the RSpec support files.
require "rspec"
Dir[File.expand_path "spec/support/*.rb"].each { |file| require file }
-# encoding: utf-8
-require "coveralls"
-Coveralls.wear!
+if RUBY_ENGINE == "ruby"
+ require "coveralls"
+ Coveralls.wear!
+end
# Loads the code of the module with the RSpec test rspec.
require "hexx-rspec"