spec/spec_helper.rb in roxml-3.1.5 vs spec/spec_helper.rb in roxml-3.1.6
- old
+ new
@@ -1,10 +1,9 @@
require 'rubygems'
require 'pathname'
-require 'test/support/fixtures'
-require 'lib/roxml'
-
-require 'spec/shared_specs' if defined?(Spec)
+require_relative './../test/support/fixtures'
+require_relative './../lib/roxml'
+require_relative './shared_specs'
def xml_for(name)
Pathname.new(File.dirname(__FILE__)).expand_path.dirname.join("examples/xml/#{name}.xml")
end