diff options
| author | Jesse Wolfe <jes5199@gmail.com> | 2010-09-13 23:00:35 -0700 |
|---|---|---|
| committer | Jesse Wolfe <jes5199@gmail.com> | 2010-09-13 23:00:35 -0700 |
| commit | 9e72ccd8ff087d0cf4a1396401e3843311b4e6d4 (patch) | |
| tree | 19f55c6cb37bfd9bc39f0bf9060643ac61005415 /spec/unit/application | |
| parent | 1d93c4dd86181eb2663dd8df2e84719c2e1ffcdf (diff) | |
| parent | efa834aaec596b0d5e7b314a53e6b258ce44728c (diff) | |
Merge commit '2.6.1rc4' into next
Diffstat (limited to 'spec/unit/application')
| -rwxr-xr-x | spec/unit/application/apply_spec.rb | 2 | ||||
| -rwxr-xr-x | spec/unit/application/cert_spec.rb | 2 | ||||
| -rw-r--r-- | spec/unit/application/master_spec.rb | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/spec/unit/application/apply_spec.rb b/spec/unit/application/apply_spec.rb index b073d1a6f..edb41b5c3 100755 --- a/spec/unit/application/apply_spec.rb +++ b/spec/unit/application/apply_spec.rb @@ -311,7 +311,7 @@ describe Puppet::Application::Apply do end it "should apply the catalog" do - @catalog.expects(:apply) + @catalog.expects(:apply).returns(stub_everything 'transaction') @apply.main end diff --git a/spec/unit/application/cert_spec.rb b/spec/unit/application/cert_spec.rb index b82a2fe89..4663fc938 100755 --- a/spec/unit/application/cert_spec.rb +++ b/spec/unit/application/cert_spec.rb @@ -12,7 +12,7 @@ describe Puppet::Application::Cert do end it "should operate in master run_mode" do - @cert_app.class.run_mode.name.should equal :master + @cert_app.class.run_mode.name.should equal(:master) end it "should ask Puppet::Application to parse Puppet configuration file" do diff --git a/spec/unit/application/master_spec.rb b/spec/unit/application/master_spec.rb index d23021317..e657445a4 100644 --- a/spec/unit/application/master_spec.rb +++ b/spec/unit/application/master_spec.rb @@ -23,7 +23,7 @@ describe Puppet::Application::Master do end it "should operate in master run_mode" do - @master.class.run_mode.name.should equal :master + @master.class.run_mode.name.should equal(:master) end it "should ask Puppet::Application to parse Puppet configuration file" do |
