Sha256: 321a81b980f8722f78aa0827703c0ea6579754d7975748cf09e44adecfa43490
Contents?: true
Size: 902 Bytes
Versions: 1
Compression:
Stored size: 902 Bytes
Contents
require 'spec_helper' require './lib/drupal/export' require './spec/support/shared_configuration.rb' module Contentful module Exporter module Drupal describe Export do include_context 'shared_configuration' before do @exporter = Export.new(@config) end it 'initialize' do expect(@exporter.config).to be_kind_of Contentful::Configuration expect(@exporter.boolean_columns).to be_a Array end it 'save_data_as_json' do expect_any_instance_of(Export).to receive(:tags) expect_any_instance_of(Export).to receive(:vocabularies) expect_any_instance_of(Export).to receive(:users) expect_any_instance_of(Export).to receive(:content_types) expect_any_instance_of(Export).to receive(:files) @exporter.save_data_as_json end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
drupal-exporter-0.0.1 | spec/lib/drupal/export_spec.rb |