Sha256: 6f4c6ec4a4f978b6882bb0b245f36967381a763ee2b4f8acb8c6cec8fc2b0027
Contents?: true
Size: 706 Bytes
Versions: 7
Compression:
Stored size: 706 Bytes
Contents
require File.expand_path("../../../base", __FILE__) describe Vagrant::Downloaders::HTTP do let(:ui) { double("ui") } let(:instance) { described_class.new(ui) } describe "matching" do it "should match URLs" do described_class.match?("http://google.com/foo.box").should be described_class.match?("https://google.com/foo.box").should be described_class.match?("http://foo:bar@google.com/foo.box").should be described_class.match?("http://google.com:8500/foo.box").should be end it "should not match file:// URIs" do described_class.match?("file://#{__FILE__}").should_not be end end describe "downloading" do # Integration tests only. end end
Version data entries
7 entries across 7 versions & 3 rubygems