Sha256: a29f9593ea04d79f678b146b427f25a3b803bebce98729c9850983aff33dc0ce
Contents?: true
Size: 825 Bytes
Versions: 2
Compression:
Stored size: 825 Bytes
Contents
require './lib/configuration' shared_context 'shared_configuration', :a => :b do before do yaml_text = <<-EOF data_dir: spec/fixtures/database/data adapter: mysql2 host: localhost database: database_name user: username password: secret_password mapped: tables: - :example_model_name - :example_model_name_two 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.json EOF yaml = YAML.load(yaml_text) @config = Contentful::Configuration.new(yaml) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
database-exporter-0.0.2 | spec/support/shared_configuration.rb |
database-exporter-0.0.1 | spec/support/shared_configuration.rb |