Trying to make the gem 1.8.7 compatible

* replaced File.realpath in testsuite with File.expand_path
* removed the old YAML hack
This commit is contained in:
Marc Remolt 2011-08-12 19:15:46 +02:00
parent 6188f58706
commit 0beaa90a3d
2 changed files with 1 additions and 4 deletions

View File

@ -1,6 +1,3 @@
require 'yaml'
YAML::ENGINE.yamler= 'syck'
require 'rubygems'
gemfile = File.expand_path('../../../../Gemfile', __FILE__)

View File

@ -1,6 +1,6 @@
module Refinery::WordPress::SpecHelpers
def test_dump
file_name = File.realpath(File.join(File.dirname(__FILE__), '../fixtures/wordpress_dump.xml'))
file_name = File.expand_path(File.join(File.dirname(__FILE__), '../fixtures/wordpress_dump.xml'))
Refinery::WordPress::Dump.new(file_name)
end
end