require "spec_helper_#{ENV['SPEC_TARGET_BACKEND']}"

describe package('python-apt'), :if => os[:family] == 'debian' do
  it { should be_installed }
end

describe package('python-dev'), :if => os[:family] == 'debian' do
  it { should be_installed }
end

describe package('build-essential'), :if => os[:family] == 'debian' do
  it { should be_installed }
end

require "spec_helper_#{ENV['SPEC_TARGET_BACKEND']}"

describe package('python-apt'), :if => os[:family] == 'debian' do
  it { should be_installed }
end

describe package('python-dev'), :if => os[:family] == 'debian' do
  it { should be_installed }
end

describe package('build-essential'), :if => os[:family] == 'debian' do
  it { should be_installed }
end

describe command('which python') do
  its(:exit_status) { should eq 0 }
end

Add spec to confirm Python command exist on PATH.
Add spec to confirm Python command exist on PATH.
