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-cisco-2.41.0 spec/command/ubuntu/ppa_spec.rb
specinfra-cisco-2.40.2 spec/command/ubuntu/ppa_spec.rb
specinfra-2.42.0 spec/command/ubuntu/ppa_spec.rb
specinfra-2.41.1 spec/command/ubuntu/ppa_spec.rb
specinfra-2.41.0 spec/command/ubuntu/ppa_spec.rb
specinfra-2.40.2 spec/command/ubuntu/ppa_spec.rb
specinfra-2.40.1 spec/command/ubuntu/ppa_spec.rb
specinfra-2.40.0 spec/command/ubuntu/ppa_spec.rb
specinfra-2.39.1 spec/command/ubuntu/ppa_spec.rb
specinfra-2.39.0 spec/command/ubuntu/ppa_spec.rb
specinfra-2.38.1 spec/command/ubuntu/ppa_spec.rb
specinfra-2.38.0 spec/command/ubuntu/ppa_spec.rb
specinfra-2.37.9 spec/command/ubuntu/ppa_spec.rb
specinfra-2.37.8 spec/command/ubuntu/ppa_spec.rb
specinfra-2.37.6 spec/command/ubuntu/ppa_spec.rb
specinfra-2.37.5 spec/command/ubuntu/ppa_spec.rb
specinfra-2.37.4 spec/command/ubuntu/ppa_spec.rb
specinfra-2.37.3 spec/command/ubuntu/ppa_spec.rb
specinfra-2.37.2 spec/command/ubuntu/ppa_spec.rb
specinfra-2.37.1 spec/command/ubuntu/ppa_spec.rb