0beaa90a3d
* replaced File.realpath in testsuite with File.expand_path * removed the old YAML hack
12 lines
298 B
Ruby
12 lines
298 B
Ruby
module Refinery::WordPress::SpecHelpers
|
|
def test_dump
|
|
file_name = File.expand_path(File.join(File.dirname(__FILE__), '../fixtures/wordpress_dump.xml'))
|
|
Refinery::WordPress::Dump.new(file_name)
|
|
end
|
|
end
|
|
|
|
RSpec.configure do |config|
|
|
config.include Refinery::WordPress::SpecHelpers
|
|
end
|
|
|