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.43.1 spec/command/ubuntu/ppa_spec.rb
specinfra-2.43.0 spec/command/ubuntu/ppa_spec.rb
specinfra-2.42.2 spec/command/ubuntu/ppa_spec.rb