Sha256: c9b5ba3900cdf078e0a0a8bb11888de100da5fd11ba6df634045173399450b56

Contents?: true

Size: 835 Bytes

Versions: 7

Compression:

Stored size: 835 Bytes

Contents

# encoding: UTF-8
# Copyright (c) 2018 António Meireles. All Rights Reserved.

require 'spec_helper'
require 'vagrant-guests-clearlinux/plugin'
require 'vagrant-guests-clearlinux/cap/change_host_name'
require 'vagrant-guests-clearlinux/cap/configure_networks'

describe VagrantPlugins::GuestClearLinux::Plugin do
  it 'should be loaded with ClearLinux' do
    expect(described_class.components.guests[:clearlinux].first).to eq(VagrantPlugins::GuestClearLinux::Guest)
  end

  {
    :change_host_name      => VagrantPlugins::GuestClearLinux::Cap::ChangeHostName,
    :configure_networks    => VagrantPlugins::GuestClearLinux::Cap::ConfigureNetworks
  }.each do |cap, cls|
    it "should be capable of #{cap} with ClearLinux" do
      expect(described_class.components.guest_capabilities[:clearlinux][cap]).to eq(cls)
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
vagrant-guests-clearlinux-1.1.3 spec/plugin_spec.rb
vagrant-guests-clearlinux-1.1.2 spec/plugin_spec.rb
vagrant-guests-clearlinux-1.1.1 spec/plugin_spec.rb
vagrant-guests-clearlinux-1.1.0 spec/plugin_spec.rb
vagrant-guests-clearlinux-1.0.16 spec/plugin_spec.rb
vagrant-guests-clearlinux-1.0.14 spec/plugin_spec.rb
vagrant-guests-clearlinux-1.0.13 spec/plugin_spec.rb