Sha256: 9e2d051eafd91784a79ddaf74f1b4b11afeabf137cfab53281d5fbe9bd9e0fc4

Contents?: true

Size: 404 Bytes

Versions: 28

Compression:

Stored size: 404 Bytes

Contents

require 'spec_helper'

describe Targit do
  describe '#new' do
    it 'creates Asset objects' do
      VCR.use_cassette('current_releases') do
        asset = Targit.new(
          'spec/examples/alpha',
          'akerl/targit',
          'testing',
          authfile: 'spec/.creds',
          create: true
        )
        expect(asset).to be_an_instance_of Targit::Asset
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
targit-2.5.2 spec/targit_spec.rb
targit-2.5.1 spec/targit_spec.rb
targit-2.5.0 spec/targit_spec.rb
targit-2.4.8 spec/targit_spec.rb
targit-2.4.7 spec/targit_spec.rb
targit-2.4.6 spec/targit_spec.rb
targit-2.4.5 spec/targit_spec.rb
targit-2.4.4 spec/targit_spec.rb
targit-2.4.3 spec/targit_spec.rb
targit-2.4.2 spec/targit_spec.rb
targit-2.4.1 spec/targit_spec.rb
targit-2.4.0 spec/targit_spec.rb
targit-2.3.0 spec/targit_spec.rb
targit-2.2.0 spec/targit_spec.rb
targit-2.1.0 spec/targit_spec.rb
targit-2.0.2 spec/targit_spec.rb
targit-2.0.1 spec/targit_spec.rb
targit-2.0.0 spec/targit_spec.rb
targit-1.1.0 spec/targit_spec.rb
targit-1.0.1 spec/targit_spec.rb