2011-06-05 11:09:06 +00:00
|
|
|
module Refinery::WordPress::SpecHelpers
|
|
|
|
def test_dump
|
2011-08-12 17:15:46 +00:00
|
|
|
file_name = File.expand_path(File.join(File.dirname(__FILE__), '../fixtures/wordpress_dump.xml'))
|
2011-06-05 11:09:06 +00:00
|
|
|
Refinery::WordPress::Dump.new(file_name)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
RSpec.configure do |config|
|
|
|
|
config.include Refinery::WordPress::SpecHelpers
|
|
|
|
end
|
|
|
|
|