diff options
| author | Matt Robinson <matt@puppetlabs.com> | 2011-01-03 22:19:41 -0800 |
|---|---|---|
| committer | Nick Lewis <nick@puppetlabs.com> | 2011-01-04 16:01:41 -0800 |
| commit | 52760a4fb2764d011609c82adb68cc61d0772dc4 (patch) | |
| tree | 489df98ee50d6ac6cf01fb905e78bd4864cde2c0 /spec/unit/application/kick_spec.rb | |
| parent | ac114371fc161a48fc48bf68944846a1defbc6c4 (diff) | |
| download | puppet-52760a4fb2764d011609c82adb68cc61d0772dc4.tar.gz puppet-52760a4fb2764d011609c82adb68cc61d0772dc4.tar.xz puppet-52760a4fb2764d011609c82adb68cc61d0772dc4.zip | |
(#5771) Upgrade rspec to version 2
The biggest change is that we no longer need to monkey patch rspec to
get confine behavior. Describe blocks can now be conditional like
confine used to be. "describe" blocks with "shared => true" are now
"shared_examples_for".
Paired-With: Nick Lewis
Diffstat (limited to 'spec/unit/application/kick_spec.rb')
| -rwxr-xr-x | spec/unit/application/kick_spec.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/unit/application/kick_spec.rb b/spec/unit/application/kick_spec.rb index dea7ec147..c18a84de3 100755 --- a/spec/unit/application/kick_spec.rb +++ b/spec/unit/application/kick_spec.rb @@ -4,9 +4,7 @@ require File.dirname(__FILE__) + '/../../spec_helper' require 'puppet/application/kick' -describe Puppet::Application::Kick do - - confine "Kick's eventloops can only start on POSIX" => Puppet.features.posix? +describe Puppet::Application::Kick, :if => Puppet.features.posix? do before :each do require 'puppet/util/ldap/connection' |
