Sha256: 6ffa498a8e03f0fc5a3f602873fe63ae769fcde9cdd4a519f74a2d8c12338c80

Contents?: true

Size: 326 Bytes

Versions: 3

Compression:

Stored size: 326 Bytes

Contents

module Workarea
  module Blog
    module Factoris
      module WordpressImport
        Factories.add(self)

        def wordpress_xml_path
          "#{Workarea::Blog.root}/test/fixtures/test_wordpress.xml"
        end

        def wordpress_xml
          File.open(wordpress_xml_path)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
workarea-blog-3.4.9 test/factories/wordpress_import.rb
workarea-blog-3.4.8 test/factories/wordpress_import.rb
workarea-blog-3.4.7 test/factories/wordpress_import.rb