Sha256: 6849eb7fa0e2e807a08e45bb0929dd1d32183822e2d5b5917194ae5b186f5bb0

Contents?: true

Size: 449 Bytes

Versions: 183

Compression:

Stored size: 449 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

183 entries across 183 versions & 2 rubygems

Version Path
specinfra-2.82.5 spec/command/ubuntu/ppa_spec.rb
specinfra-2.82.4 spec/command/ubuntu/ppa_spec.rb
specinfra-2.82.3 spec/command/ubuntu/ppa_spec.rb
specinfra-2.82.2 spec/command/ubuntu/ppa_spec.rb
specinfra-2.82.1 spec/command/ubuntu/ppa_spec.rb
specinfra-2.82.0 spec/command/ubuntu/ppa_spec.rb
specinfra-2.81.0 spec/command/ubuntu/ppa_spec.rb
specinfra-2.80.0 spec/command/ubuntu/ppa_spec.rb
specinfra-2.79.0 spec/command/ubuntu/ppa_spec.rb
specinfra-2.78.2 spec/command/ubuntu/ppa_spec.rb
specinfra-2.78.1 spec/command/ubuntu/ppa_spec.rb
specinfra-2.78.0 spec/command/ubuntu/ppa_spec.rb
specinfra-2.77.3 spec/command/ubuntu/ppa_spec.rb
specinfra-2.77.2 spec/command/ubuntu/ppa_spec.rb
specinfra-2.77.1 spec/command/ubuntu/ppa_spec.rb
specinfra-2.77.0 spec/command/ubuntu/ppa_spec.rb
specinfra-2.76.9 spec/command/ubuntu/ppa_spec.rb
specinfra-2.76.8 spec/command/ubuntu/ppa_spec.rb
specinfra-2.76.7 spec/command/ubuntu/ppa_spec.rb
specinfra-2.76.6 spec/command/ubuntu/ppa_spec.rb