Sha256: 0536ac33e203aac6d4c1c479e3551b720580deeb69e40fd0b6d115115b942cba

Contents?: true

Size: 454 Bytes

Versions: 40

Compression:

Stored size: 454 Bytes

Contents

require File.expand_path("../../../base", __FILE__)

describe Vagrant::Downloaders::Base do
  let(:ui) { double("ui") }
  let(:instance) { described_class.new(ui) }

  it "should not match anything by default" do
    described_class.match?("foo").should_not be
  end

  it "should implement `prepare`" do
    instance.prepare("foo").should be_nil
  end

  it "should implement `download!`" do
    instance.download!("foo", "bar").should be_nil
  end
end

Version data entries

40 entries across 40 versions & 6 rubygems

Version Path
vagrantup-0.9.1 test/unit/vagrant/downloaders/base_test.rb
vagrantup-0.9.0 test/unit/vagrant/downloaders/base_test.rb
vagrant-fixed-ssh-1.0.7 test/unit/vagrant/downloaders/base_test.rb
vagrant-1.0.7 test/unit/vagrant/downloaders/base_test.rb
vagrant-1.0.6 test/unit/vagrant/downloaders/base_test.rb
boxcar-0.10005.1 test/unit/vagrant/downloaders/base_test.rb
fragrant-0.0.5 vendor/bundle/ruby/1.9.1/gems/vagrant-1.0.5/test/unit/vagrant/downloaders/base_test.rb
vagrant-1.0.5 test/unit/vagrant/downloaders/base_test.rb
vagrant-1.0.4 test/unit/vagrant/downloaders/base_test.rb
vagrant-1.0.3 test/unit/vagrant/downloaders/base_test.rb
vagrant-1.0.2 test/unit/vagrant/downloaders/base_test.rb
vagrant-1.0.1 test/unit/vagrant/downloaders/base_test.rb
vagrant-1.0.0 test/unit/vagrant/downloaders/base_test.rb
vagrant-0.9.7 test/unit/vagrant/downloaders/base_test.rb
vagrant-0.9.5 test/unit/vagrant/downloaders/base_test.rb
vagrant-0.9.4 test/unit/vagrant/downloaders/base_test.rb
vagrant-0.9.3 test/unit/vagrant/downloaders/base_test.rb
vagrant-0.9.2 test/unit/vagrant/downloaders/base_test.rb
vagrant-0.9.1 test/unit/vagrant/downloaders/base_test.rb
vagrant-0.9.0 test/unit/vagrant/downloaders/base_test.rb