Sha256: 3c01f5726316de235a2a8b74950e170ce55db9f316bc2f1f796806ea2f8a7f62

Contents?: true

Size: 431 Bytes

Versions: 135

Compression:

Stored size: 431 Bytes

Contents

require 'spec_helper'

property[:os] = nil
set :os, :family => 'ubuntu'

describe get_command(:check_ppa_exists, 'nginx/stable') do
  it { should eq 'find /etc/apt/ -name *.list | xargs grep -o -E "deb +http://ppa.launchpad.net/nginx/stable"' }
end

describe get_command(:check_ppa_is_enabled, 'nginx/stable') do
  it { should eq 'find /etc/apt/ -name *.list | xargs grep -o -E "^deb +http://ppa.launchpad.net/nginx/stable"' }
end

Version data entries

135 entries across 135 versions & 2 rubygems

Version Path
specinfra-2.11.5 spec/command/ubuntu/ppa_spec.rb
specinfra-2.11.4 spec/command/ubuntu/ppa_spec.rb
specinfra-2.11.3 spec/command/ubuntu/ppa_spec.rb
specinfra-2.11.2 spec/command/ubuntu/ppa_spec.rb
specinfra-2.11.1 spec/command/ubuntu/ppa_spec.rb
specinfra-2.11.0 spec/command/ubuntu/ppa_spec.rb
specinfra-2.10.4 spec/command/ubuntu/ppa_spec.rb
specinfra-2.10.3 spec/command/ubuntu/ppa_spec.rb
specinfra-2.10.2 spec/command/ubuntu/ppa_spec.rb
specinfra-2.10.1 spec/command/ubuntu/ppa_spec.rb
specinfra-2.10.0 spec/command/ubuntu/ppa_spec.rb
specinfra-2.9.3 spec/command/ubuntu/ppa_spec.rb
specinfra-2.9.2 spec/command/ubuntu/ppa_spec.rb
specinfra-2.9.1 spec/command/ubuntu/ppa_spec.rb
specinfra-2.9.0 spec/command/ubuntu/ppa_spec.rb