diff options
| author | Pieter van de Bruggen <pieter@puppetlabs.com> | 2011-05-17 14:50:40 -0700 |
|---|---|---|
| committer | Pieter van de Bruggen <pieter@puppetlabs.com> | 2011-05-17 14:50:40 -0700 |
| commit | f9e44f041b3fdc120b1c78554c35c83f7517152e (patch) | |
| tree | f5d4687277fff6fe697a92089f1fa9283dce1bb4 /spec/unit/application | |
| parent | 99d437d2bbc2339f092304715ec562fbbcb0a50c (diff) | |
| parent | c8b294a0b0a1fc91a64c0a1ac3bab3b2aec92faf (diff) | |
Merge branch '2.7.x' into 2.7.next
Diffstat (limited to 'spec/unit/application')
| -rwxr-xr-x | spec/unit/application/cert_spec.rb | 2 | ||||
| -rwxr-xr-x | spec/unit/application/face_base_spec.rb | 2 | ||||
| -rwxr-xr-x | spec/unit/application/facts_spec.rb | 2 | ||||
| -rwxr-xr-x | spec/unit/application/resource_spec.rb | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/spec/unit/application/cert_spec.rb b/spec/unit/application/cert_spec.rb index 1b1c61ab4..7510f0783 100755 --- a/spec/unit/application/cert_spec.rb +++ b/spec/unit/application/cert_spec.rb @@ -2,7 +2,7 @@ require 'spec_helper' require 'puppet/application/cert' -describe Puppet::Application::Cert do +describe Puppet::Application::Cert, :'fails_on_ruby_1.9.2' => true do before :each do @cert_app = Puppet::Application[:cert] Puppet::Util::Log.stubs(:newdestination) diff --git a/spec/unit/application/face_base_spec.rb b/spec/unit/application/face_base_spec.rb index 2a9a22356..3318e061e 100755 --- a/spec/unit/application/face_base_spec.rb +++ b/spec/unit/application/face_base_spec.rb @@ -148,7 +148,7 @@ describe Puppet::Application::FaceBase do end end - it "should handle application-level options" do + it "should handle application-level options", :'fails_on_ruby_1.9.2' => true do app.command_line.stubs(:args).returns %w{basetest --verbose return_true} app.preinit app.parse_options diff --git a/spec/unit/application/facts_spec.rb b/spec/unit/application/facts_spec.rb index 2981dc805..e11ea165c 100755 --- a/spec/unit/application/facts_spec.rb +++ b/spec/unit/application/facts_spec.rb @@ -15,7 +15,7 @@ describe Puppet::Application::Facts do @logs.first.to_s.should =~ /puppet facts find takes 1 argument, but you gave 0/ end - it "should return facts if a key is given to find" do + it "should return facts if a key is given to find", :'fails_on_ruby_1.9.2' => true do subject.command_line.stubs(:args).returns %w{find whatever --render-as yaml} expect { diff --git a/spec/unit/application/resource_spec.rb b/spec/unit/application/resource_spec.rb index 9ee6dd71b..a6564cae5 100755 --- a/spec/unit/application/resource_spec.rb +++ b/spec/unit/application/resource_spec.rb @@ -35,13 +35,13 @@ describe Puppet::Application::Resource do end describe "in preinit" do - it "should set hosts to nil" do + it "should set hosts to nil", :'fails_on_ruby_1.9.2' => true do @resource.preinit @resource.host.should be_nil end - it "should init extra_params to empty array" do + it "should init extra_params to empty array", :'fails_on_ruby_1.9.2' => true do @resource.preinit @resource.extra_params.should == [] |
