Sha256: 429e22dabb1d3edb57bb8a688420f064b8cdd5dbe4552262176d3c5f946f0bdf

Contents?: true

Size: 492 Bytes

Versions: 9

Compression:

Stored size: 492 Bytes

Contents

require 'spec_helper'

module Vendorificator
  describe Vendor::Git do

    describe '#metadata' do
      before do
        @vendor = Vendor::Git.new(basic_environment,
          'git://github.com/mpasternacki/nagios.git'
        )
        @vendor.stubs(:version).returns('0.23')
      end

      let(:metadata) { @vendor.metadata }

      it 'contains the repository url' do
        assert { metadata[:parsed_args][:repository] =~ /mpasternacki\/nagios\.git/ }
      end
    end

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
vendorificator-0.6.0 spec/vendorificator/vendor/git_spec.rb
vendorificator-0.5.3 spec/vendorificator/vendor/git_spec.rb
vendorificator-0.5.2 spec/vendorificator/vendor/git_spec.rb
vendorificator-0.5.1 spec/vendorificator/vendor/git_spec.rb
vendorificator-0.5.0 spec/vendorificator/vendor/git_spec.rb
vendorificator-0.5.git.v0.4.0.63.g8e9d54d spec/vendorificator/vendor/git_spec.rb
vendorificator-0.5.git.v0.4.0.60.g9c35209 spec/vendorificator/vendor/git_spec.rb
vendorificator-0.5.git.v0.4.0.17.g26d50d8 spec/vendorificator/vendor/git_spec.rb
vendorificator-0.4.0 spec/vendorificator/vendor/git_spec.rb