Sha256: 1836d23d6284d48b1302485beb4cd9752210053891f8fde587b20802f1b436fc
Contents?: true
Size: 846 Bytes
Versions: 2
Compression:
Stored size: 846 Bytes
Contents
require 'spec_helper' require './lib/configuration' module Contentful describe Configuration do include_context 'shared_configuration' it 'initialize' do expect(@config.data_dir).to eq 'spec/fixtures/import_files' expect(@config.collections_dir).to eq 'spec/fixtures/import_files/collections' expect(@config.assets_dir).to eq 'spec/fixtures/import_files/assets' expect(@config.entries_dir).to eq 'spec/fixtures/import_files/entries' expect(@config.log_files_dir).to eq 'spec/fixtures/import_files/logs' expect(@config.threads_dir).to eq 'spec/fixtures/import_files/threads' expect(@config.imported_entries).to be_empty expect(@config.published_entries).to be_empty expect(@config.published_assets).to be_empty expect(@config.space_id).to eq 'ip17s12q0ek4' end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
contentful-importer-0.0.2 | spec/lib/configuration_spec.rb |
contentful-importer-0.0.1 | spec/lib/configuration_spec.rb |