Sha256: 0bb1498c90923d8bfa361eade65f0b0a1b3099c62111775e2fe531d94314a757
Contents?: true
Size: 738 Bytes
Versions: 13
Compression:
Stored size: 738 Bytes
Contents
require File.join(File.dirname(__FILE__), '..', '..', 'test_helper') class BaseDownloaderTest < Test::Unit::TestCase should "include the util class so subclasses have access to it" do assert Vagrant::Downloaders::Base.include?(Vagrant::Util) end context "base instance" do setup do @base = Vagrant::Downloaders::Base.new end should "implement prepare which does nothing" do assert_nothing_raised do assert @base.respond_to?(:prepare) @base.prepare("source") end end should "implement download! which does nothing" do assert_nothing_raised do assert @base.respond_to?(:download!) @base.download!("source", "destination") end end end end
Version data entries
13 entries across 13 versions & 3 rubygems