Sha256: d1db7b02c0ad99c2a5b6381cb2edb3c3ed0909f1a84b05cdead5cfbe5b742c06

Contents?: true

Size: 796 Bytes

Versions: 12

Compression:

Stored size: 796 Bytes

Contents

require "vagrant"
require_relative "base"

require VagrantPlugins::Parallels.source_root.join('lib/vagrant-parallels/synced_folder')

describe VagrantPlugins::Parallels::SyncedFolder do
  let(:machine) do
    double("machine").tap do |m|
    end
  end

  subject { described_class.new }

  describe "usable" do
    it "should be with parallels provider" do
      machine.stub(provider_name: :parallels)
      subject.should be_usable(machine)
    end

    it "should not be with another provider" do
      machine.stub(provider_name: :virtualbox)
      subject.should_not be_usable(machine)
    end
  end

  describe "prepare" do
    let(:driver) { double("driver") }

    before do
      machine.stub(driver: driver)
    end

    it "should share the folders" do
      pending
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
vagrant-parallels-1.0.8 test/unit/synced_folder_test.rb
vagrant-parallels-1.0.7 test/unit/synced_folder_test.rb
vagrant-parallels-1.0.6 test/unit/synced_folder_test.rb
vagrant-parallels-1.0.6.rc1 test/unit/synced_folder_test.rb
vagrant-parallels-1.0.5 test/unit/synced_folder_test.rb
vagrant-parallels-1.0.4 test/unit/synced_folder_test.rb
vagrant-parallels-1.0.3 test/unit/synced_folder_test.rb
vagrant-parallels-1.0.2 test/unit/synced_folder_test.rb
vagrant-parallels-1.0.1 test/unit/synced_folder_test.rb
vagrant-parallels-1.0.0 test/unit/synced_folder_test.rb
vagrant-parallels-0.2.2 test/unit/synced_folder_test.rb
vagrant-parallels-0.2.2.rc1 test/unit/synced_folder_test.rb