# File test/test_inifile.rb, line 83 def test_delete_section assert_nil @ini_file.delete_section('section_nil') h = {'one' => '1', 'two' => '2'} assert_equal true, @ini_file.has_section?('section_one') assert_equal h, @ini_file.delete_section('section_one') assert_equal false, @ini_file.has_section?('section_one') assert_nil @ini_file.delete_section('section_one') end