test/test_config_base.rb in confuse-0.1.6 vs test/test_config_base.rb in confuse-0.1.7
- old
+ new
@@ -13,10 +13,10 @@
# This is easier to test with an instance of a config object, rather than as
# part of the test for the module where other tests can modify the model.
def test_params_hash
assert_equal({ :default_foo => { :type => :string, :doc => 'foo',
:default => 'foo' } },
- Foo.new.params_hash)
+ Foo.params_hash)
end
def test_can_specify_config_options_on_initialize
config = Foo.new(:conf => { :foo => 'bar' })