diff options
Diffstat (limited to 'spec/unit/indirector/request.rb')
-rwxr-xr-x | spec/unit/indirector/request.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/spec/unit/indirector/request.rb b/spec/unit/indirector/request.rb index b885779ed..58226397e 100755 --- a/spec/unit/indirector/request.rb +++ b/spec/unit/indirector/request.rb @@ -40,10 +40,6 @@ describe Puppet::Indirector::Request do lambda { Puppet::Indirector::Request.new(:ind, :method, :key) }.should_not raise_error(ArgumentError) end - it "should fail if options are specified as anything other than nil or a hash" do - lambda { Puppet::Indirector::Request.new(:ind, :method, :key, [:one, :two]) }.should raise_error(ArgumentError) - end - it "should use an empty options hash if nil was provided" do Puppet::Indirector::Request.new(:ind, :method, :key, nil).options.should == {} end |