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:
parent
6188f58706
commit
0beaa90a3d
|
@ -1,6 +1,3 @@
|
||||||
require 'yaml'
|
|
||||||
YAML::ENGINE.yamler= 'syck'
|
|
||||||
|
|
||||||
require 'rubygems'
|
require 'rubygems'
|
||||||
gemfile = File.expand_path('../../../../Gemfile', __FILE__)
|
gemfile = File.expand_path('../../../../Gemfile', __FILE__)
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
module Refinery::WordPress::SpecHelpers
|
module Refinery::WordPress::SpecHelpers
|
||||||
def test_dump
|
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)
|
Refinery::WordPress::Dump.new(file_name)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue
Block a user