diff options
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/unit/application/filebucket.rb | 4 | ||||
| -rwxr-xr-x | spec/unit/application/puppetd.rb | 4 | ||||
| -rwxr-xr-x | spec/unit/parser/ast/leaf.rb | 4 | ||||
| -rwxr-xr-x | spec/unit/provider/ssh_authorized_key/parsed.rb | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/spec/unit/application/filebucket.rb b/spec/unit/application/filebucket.rb index e87bab402..c0a6dcc7f 100644 --- a/spec/unit/application/filebucket.rb +++ b/spec/unit/application/filebucket.rb @@ -124,9 +124,9 @@ describe "Filebucket" do describe "with remote bucket" do it "should create a remote Client to the configured server" do - Puppet.stubs(:[]).with(:server).returns("puppet.reductivelabs.com") + Puppet.stubs(:[]).with(:server).returns("puppet.puppetlabs.com") - Puppet::Network::Client::Dipper.expects(:new).with { |h| h[:Server] == "puppet.reductivelabs.com" } + Puppet::Network::Client::Dipper.expects(:new).with { |h| h[:Server] == "puppet.puppetlabs.com" } @filebucket.run_setup end diff --git a/spec/unit/application/puppetd.rb b/spec/unit/application/puppetd.rb index 0f7257e59..88772b2f1 100755 --- a/spec/unit/application/puppetd.rb +++ b/spec/unit/application/puppetd.rb @@ -275,10 +275,10 @@ describe "puppetd" do it "should set a central log destination with --centrallogs" do @puppetd.options.stubs(:[]).with(:centrallogs).returns(true) - Puppet.stubs(:[]).with(:server).returns("puppet.reductivelabs.com") + Puppet.stubs(:[]).with(:server).returns("puppet.puppetlabs.com") Puppet::Util::Log.stubs(:newdestination).with(:syslog) - Puppet::Util::Log.expects(:newdestination).with("puppet.reductivelabs.com") + Puppet::Util::Log.expects(:newdestination).with("puppet.puppetlabs.com") @puppetd.run_setup end diff --git a/spec/unit/parser/ast/leaf.rb b/spec/unit/parser/ast/leaf.rb index 62ebc2ab1..5e7516b1d 100755 --- a/spec/unit/parser/ast/leaf.rb +++ b/spec/unit/parser/ast/leaf.rb @@ -233,8 +233,8 @@ describe Puppet::Parser::AST::HostName do end it "should return a string usable as a tag when calling to_classname" do - host = Puppet::Parser::AST::HostName.new( :value => Puppet::Parser::AST::Regex.new(:value => "/.+.reductivelabs\.com/") ) - host.to_classname.should == "reductivelabs.com" + host = Puppet::Parser::AST::HostName.new( :value => Puppet::Parser::AST::Regex.new(:value => "/.+.puppetlabs\.com/") ) + host.to_classname.should == "puppetlabs.com" end it "should delegate 'match' to the underlying value if it is an HostName" do diff --git a/spec/unit/provider/ssh_authorized_key/parsed.rb b/spec/unit/provider/ssh_authorized_key/parsed.rb index 9abcda54f..d5c66d7b0 100755 --- a/spec/unit/provider/ssh_authorized_key/parsed.rb +++ b/spec/unit/provider/ssh_authorized_key/parsed.rb @@ -73,7 +73,7 @@ describe provider_class do end it "'s parse_options method should be able to parse options containing commas" do - options = %w{from="host1.reductlivelabs.com,host.reductivelabs.com" command="/usr/local/bin/run" ssh-pty} + options = %w{from="host1.reductlivelabs.com,host.puppetlabs.com" command="/usr/local/bin/run" ssh-pty} optionstr = options.join(", ") @provider.parse_options(optionstr).should == options |
