Sha256: 679c88a3d0cc9d80f965f15c27f00858cb2ca7098c6ae90b9d39786f56e24b83

Contents?: true

Size: 835 Bytes

Versions: 8

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

8 entries across 8 versions & 1 rubygems

Version Path
vagrant-guests-clearlinux-1.0.12 spec/plugin_spec.rb
vagrant-guests-clearlinux-1.0.11 spec/plugin_spec.rb
vagrant-guests-clearlinux-1.0.10 spec/plugin_spec.rb
vagrant-guests-clearlinux-1.0.9 spec/plugin_spec.rb
vagrant-guests-clearlinux-1.0.8 spec/plugin_spec.rb
vagrant-guests-clearlinux-1.0.7 spec/plugin_spec.rb
vagrant-guests-clearlinux-1.0.6 spec/plugin_spec.rb
vagrant-guests-clearlinux-1.0.5 spec/plugin_spec.rb