summaryrefslogtreecommitdiffstats
path: root/spec/unit
diff options
context:
space:
mode:
authorDaniel Pittman <daniel@puppetlabs.com>2011-04-21 15:45:28 -0700
committerDaniel Pittman <daniel@puppetlabs.com>2011-04-21 16:08:38 -0700
commit27e083151bfd1e167f810ceb38199ded3d8d8be5 (patch)
tree10b203e50e6bd78a3000e52be9ff82f2526b69d7 /spec/unit
parent3c2f66d56c000d3c28d7752aa74a3574a1f6dc50 (diff)
downloadpuppet-27e083151bfd1e167f810ceb38199ded3d8d8be5.tar.gz
puppet-27e083151bfd1e167f810ceb38199ded3d8d8be5.tar.xz
puppet-27e083151bfd1e167f810ceb38199ded3d8d8be5.zip
(#7181) Rename configurer face to secret_agent.
This is a much more useful public name, especially given the code is aimed to eventually replace the agent entirely. Until then this is pleasant enough to talk about. Reviewed-By: Nick Lewis <nick@puppetlabs.com>
Diffstat (limited to 'spec/unit')
-rwxr-xr-xspec/unit/application/secret_agent_spec.rb (renamed from spec/unit/application/configurer_spec.rb)6
-rwxr-xr-xspec/unit/face/secret_agent_spec.rb (renamed from spec/unit/face/configurer_spec.rb)4
2 files changed, 4 insertions, 6 deletions
diff --git a/spec/unit/application/configurer_spec.rb b/spec/unit/application/secret_agent_spec.rb
index 791a367ea..eba936447 100755
--- a/spec/unit/application/configurer_spec.rb
+++ b/spec/unit/application/secret_agent_spec.rb
@@ -1,11 +1,11 @@
#!/usr/bin/env rspec
require 'spec_helper'
-require 'puppet/application/configurer'
+require 'puppet/application/secret_agent'
require 'puppet/indirector/catalog/rest'
require 'puppet/indirector/report/rest'
require 'tempfile'
-describe "Puppet::Application::Configurer" do
+describe "Puppet::Application::Secret_agent" do
it "should retrieve and apply a catalog and submit a report" do
pending "REVISIT: 2.7 changes broke this, and we want the merge published"
@@ -25,7 +25,7 @@ describe "Puppet::Application::Configurer" do
Puppet::Util::Log.stubs(:newdestination)
- Puppet::Application::Configurer.new.run
+ Puppet::Application::Secret_agent.new.run
@report.status.should == "changed"
end
diff --git a/spec/unit/face/configurer_spec.rb b/spec/unit/face/secret_agent_spec.rb
index 56b45031f..9117ad44d 100755
--- a/spec/unit/face/configurer_spec.rb
+++ b/spec/unit/face/secret_agent_spec.rb
@@ -3,11 +3,9 @@ require 'spec_helper'
require 'puppet/indirector/catalog/rest'
require 'tempfile'
-describe Puppet::Face[:configurer, '0.0.1'] do
+describe Puppet::Face[:secret_agent, '0.0.1'] do
describe "#synchronize" do
it "should retrieve and apply a catalog and return a report" do
- pending "REVISIT: 2.7 changes broke this, and we want the merge published"
-
dirname = Dir.mktmpdir("puppetdir")
Puppet[:vardir] = dirname
Puppet[:confdir] = dirname