Kosuke Asami
null+****@clear*****
Mon Jul 22 13:13:38 JST 2013
Kosuke Asami 2013-07-22 13:13:38 +0900 (Mon, 22 Jul 2013) New Revision: 9808d25b3e3e63307fa6c56aff31da830538131f https://github.com/groonga/fluent-plugin-droonga/commit/9808d25b3e3e63307fa6c56aff31da830538131f Message: test add: group tests that check table that has no key Modified files: test/plugin/test_handler_add.rb Modified: test/plugin/test_handler_add.rb (+2 -0) =================================================================== --- test/plugin/test_handler_add.rb 2013-07-22 13:00:19 +0900 (622d56d) +++ test/plugin/test_handler_add.rb 2013-07-22 13:13:38 +0900 (4d9ecc1) @@ -87,6 +87,7 @@ class AddHandlerTest < Test::Unit::TestCase assert_equal(["japan"], table.collect(&:country)) end + class TestNoKey < self def test_add_no_key_empty_values request = { "table" => "Books", @@ -106,6 +107,7 @@ class AddHandlerTest < Test::Unit::TestCase table =****@worke*****["Books"] assert_equal(["CSS"], table.collect(&:title)) end + end def test_failure request = { -------------- next part -------------- HTML����������������������������... Download