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.21.0 spec/command/ubuntu/ppa_spec.rb
specinfra-2.20.2 spec/command/ubuntu/ppa_spec.rb
specinfra-2.20.1 spec/command/ubuntu/ppa_spec.rb
specinfra-2.20.0 spec/command/ubuntu/ppa_spec.rb
specinfra-2.19.6 spec/command/ubuntu/ppa_spec.rb
specinfra-2.19.5 spec/command/ubuntu/ppa_spec.rb
specinfra-2.19.4 spec/command/ubuntu/ppa_spec.rb
specinfra-2.19.3 spec/command/ubuntu/ppa_spec.rb
specinfra-2.19.2 spec/command/ubuntu/ppa_spec.rb
specinfra-2.19.1 spec/command/ubuntu/ppa_spec.rb
specinfra-2.19.0 spec/command/ubuntu/ppa_spec.rb
specinfra-2.18.3 spec/command/ubuntu/ppa_spec.rb
specinfra-2.18.2 spec/command/ubuntu/ppa_spec.rb
specinfra-2.18.1 spec/command/ubuntu/ppa_spec.rb
specinfra-2.18.0 spec/command/ubuntu/ppa_spec.rb
specinfra-2.17.1 spec/command/ubuntu/ppa_spec.rb
specinfra-2.17.0 spec/command/ubuntu/ppa_spec.rb
specinfra-2.16.0 spec/command/ubuntu/ppa_spec.rb
specinfra-2.15.2 spec/command/ubuntu/ppa_spec.rb
specinfra-2.15.1 spec/command/ubuntu/ppa_spec.rb