spec/spec_helper.rb in renum-0.1.0 vs spec/spec_helper.rb in renum-1.0.0

- old
+ new

@@ -2,6 +2,13 @@ require 'spec' rescue LoadError require 'rubygems' gem 'rspec' require 'spec' -end \ No newline at end of file +end + +if ENV['USE_GEM'] + require 'rubygems' + require 'renum' +else + require File.expand_path(File.dirname(__FILE__) + '/../lib/renum') +end