Sha256: 2dfe9436a9e71108a5da6e363acd741414f3b3930dae267590e2953a12127d66

Contents?: true

Size: 441 Bytes

Versions: 5

Compression:

Stored size: 441 Bytes

Contents

require 'spec_helper'

set :os, :family => 'ubuntu'

describe commands.command_class('ppa').create do
  it { should be_an_instance_of(Specinfra::Command::Ubuntu::Base::Ppa) }
end

describe ppa('username/ppa-name') do
  it { should exist }
end

describe ppa('invalid-ppa') do
  it { should_not exist }
end

describe ppa('username/ppa-name') do
  it { should be_enabled }
end

describe ppa('invalid-ppa') do
  it { should_not be_enabled }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
serverspec-2.0.0.beta13 spec/type/ubuntu/ppa_spec.rb
serverspec-2.0.0.beta12 spec/type/ubuntu/ppa_spec.rb
serverspec-2.0.0.beta11 spec/type/ubuntu/ppa_spec.rb
serverspec-2.0.0.beta10 spec/type/ubuntu/ppa_spec.rb
serverspec-2.0.0.beta9 spec/type/ubuntu/ppa_spec.rb