Sha256: fc7d93f1bfb785cca0b23af540f80ab26dcc440e93113a987c0d3f0279cb15d8

Contents?: true

Size: 476 Bytes

Versions: 3

Compression:

Stored size: 476 Bytes

Contents

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

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

      it 'publish an entires' do
        vcr('publish_entries') do
          command = PublishEntries.parse(@args << 'publish-entries')
          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/publish_entries_spec.rb
contentful-importer-0.2.1 spec/lib/publish_entries_spec.rb
contentful-importer-0.2.0 spec/lib/publish_entries_spec.rb