Sha256: 111d1ffdfb67e6d58f7230af5e57fc352a7825c429a8d2bcd55856010bb34b07

Contents?: true

Size: 606 Bytes

Versions: 1

Compression:

Stored size: 606 Bytes

Contents

require './lib/configuration'

shared_context 'shared_configuration' do
  before do
    yaml_text = <<-EOF
          data_dir: spec/fixtures/drupal
          adapter: mysql2
          host: localhost
          database: drupal
          user: username
          password: secret_password

          drupal_content_types_json: spec/fixtures/settings/drupal_content_types.json
          drupal_boolean_columns: spec/fixtures/settings/boolean_columns.yml
          drupal_base_url: http://example_hostname.com
    EOF
    yaml = YAML.load(yaml_text)
    @config = Contentful::Configuration.new(yaml)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
drupal-exporter-0.0.1 spec/support/shared_configuration.rb