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.76.5 spec/command/ubuntu/ppa_spec.rb
specinfra-2.76.4 spec/command/ubuntu/ppa_spec.rb
specinfra-2.76.3 spec/command/ubuntu/ppa_spec.rb
specinfra-2.76.2 spec/command/ubuntu/ppa_spec.rb
specinfra-2.76.1 spec/command/ubuntu/ppa_spec.rb
specinfra-2.76.0 spec/command/ubuntu/ppa_spec.rb
specinfra-2.75.1 spec/command/ubuntu/ppa_spec.rb
specinfra-rb19-2.44.7 spec/command/ubuntu/ppa_spec.rb
specinfra-2.75.0 spec/command/ubuntu/ppa_spec.rb
specinfra-2.74.0 spec/command/ubuntu/ppa_spec.rb
specinfra-2.73.4 spec/command/ubuntu/ppa_spec.rb
specinfra-2.73.3 spec/command/ubuntu/ppa_spec.rb
specinfra-2.73.2 spec/command/ubuntu/ppa_spec.rb
specinfra-2.73.1 spec/command/ubuntu/ppa_spec.rb
specinfra-2.73.0 spec/command/ubuntu/ppa_spec.rb
specinfra-2.72.1 spec/command/ubuntu/ppa_spec.rb
specinfra-2.72.0 spec/command/ubuntu/ppa_spec.rb
specinfra-2.71.3 spec/command/ubuntu/ppa_spec.rb
specinfra-2.71.2 spec/command/ubuntu/ppa_spec.rb
specinfra-2.71.1 spec/command/ubuntu/ppa_spec.rb