Sha256: 9c99aaa51a1d46b8f5b9703b0c797ef15a4c280a7c94df2a6b90e5cd0b8e9cdd

Contents?: true

Size: 481 Bytes

Versions: 3

Compression:

Stored size: 481 Bytes

Contents

require 'spec_helper'
require './lib/contentful/importer/import_assets'

module Contentful
  module Importer
    describe ImportAssets do
      before do
        setting_file = 'spec/fixtures/settings/settings.yml'
        @args = ["--configuration=#{setting_file}"]
      end

      it 'import an assets to Contentful' do
        vcr('import_assets') do
          command = ImportAssets.parse(@args << 'import-assets')
          command.run
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
contentful-importer-0.2.2 spec/lib/import_assets_spec.rb
contentful-importer-0.2.1 spec/lib/import_assets_spec.rb
contentful-importer-0.2.0 spec/lib/import_assets_spec.rb