Sha256: 8893d02de6c8522037dabfe0ba9f0d3e150cb1cca3c5d3d4c531cb488ed8ff74

Contents?: true

Size: 741 Bytes

Versions: 5

Compression:

Stored size: 741 Bytes

Contents

require './lib/contentful/importer/configuration'

shared_context 'shared_configuration' do
  before do
    yaml_text = <<-EOF
          data_dir: spec/fixtures/import_files

          access_token: <ACCESS_TOKEN>
          organization_id: <ORGANIZATION_ID>
          space_id: ip17s12q0ek4
          default_locale: 'en-US'

          mapping_dir: spec/fixtures/settings/mapping.json
          contentful_structure_dir: spec/fixtures/settings/contentful_structure.json

          content_model_json: spec/fixtures/settings/contentful_model.json
          converted_model_dir: spec/fixtures/settings/contentful_structure_test.json
    EOF
    yaml = YAML.load(yaml_text)
    @config = Contentful::Importer::Configuration.new(yaml)
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
contentful-importer-0.2.2 spec/support/shared_configuration.rb
contentful-importer-0.2.1 spec/support/shared_configuration.rb
contentful-importer-0.2.0 spec/support/shared_configuration.rb
contentful-importer-0.1.1 spec/support/shared_configuration.rb
contentful-importer-0.1.0 spec/support/shared_configuration.rb