Sha256: 88ea4f7412cb252343543e9732939e5434293f3500d9676cdce86cf0fcc0ed87

Contents?: true

Size: 417 Bytes

Versions: 4

Compression:

Stored size: 417 Bytes

Contents

require_relative '../../lib/configuration'

RSpec.shared_context 'shared_configuration', a: :b do
  before do
    yaml_text = <<-EOF
          data_dir: spec/fixtures/blog
          wordpress_xml_path: spec/fixtures/wordpress.xml
          contentful_structure_dir: spec/fixtures//default_contentful_structure.json
    EOF
    yaml = YAML.load(yaml_text)
    @settings = Contentful::Configuration.new(yaml)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
wordpress-exporter-0.2.0 spec/support/shared_configuration.rb
wordpress-exporter-0.1.0 spec/support/shared_configuration.rb
wordpress-exporter-0.0.2 spec/support/shared_configuration.rb
wordpress-exporter-0.0.1 spec/support/shared_configuration.rb