require "spec_helper"

describe_recipe "ark::default" do

  def node_attributes
    { :platform => "centos", :version => "5.10" }
  end

  let(:expected_packages) do
    %w( libtool autoconf unzip rsync make gcc gcc-c++ xz-lzma-compat )
  end

  it "installs core packages" do
    expected_packages.each do |package|
      expect(chef_run).to install_package(package)
    end
  end

end

require "spec_helper"

describe_recipe "ark::default" do

  def node_attributes
    { :platform => "centos", :version => "5.10" }
  end

  let(:expected_packages) do
    %w( libtool autoconf unzip rsync make gcc xz-lzma-compat )
  end

  it "installs core packages" do
    expected_packages.each do |package|
      expect(chef_run).to install_package(package)
    end
  end

end

Fix to the spec -- no longer expect gcc-c++
Fix to the spec -- no longer expect gcc-c++
