mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
specify 'nil' default in config_spec.rb (don't fallback on Pry.config)
This commit is contained in:
parent
6b14f3dfa1
commit
4d39a53e61
1 changed files with 2 additions and 2 deletions
|
@ -57,13 +57,13 @@ describe Pry::Config do
|
|||
|
||||
describe "#merge!" do
|
||||
it "can merge a Hash-like object" do
|
||||
local = Pry::Config.new
|
||||
local = Pry::Config.new(nil)
|
||||
local.merge! Pry::Config.from_hash(foo: 21)
|
||||
local.foo.should == 21
|
||||
end
|
||||
|
||||
it "can merge a Hash" do
|
||||
local = Pry::Config.new
|
||||
local = Pry::Config.new(nil)
|
||||
local.merge!(foo: 21)
|
||||
local.foo.should == 21
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue