Skip to content

Commit 72372d1

Browse files
committed
add description test
1 parent 1ebfcac commit 72372d1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test_helper.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def test_fields_from_embulk_schema_with_column_options
6868
])
6969
task = {
7070
'column_options' => [
71-
{'name' => 'boolean', 'type' => 'STRING', 'mode' => 'REQUIRED'},
71+
{'name' => 'boolean', 'type' => 'STRING', 'mode' => 'REQUIRED', 'description' => 'hoge'},
7272
{'name' => 'long', 'type' => 'STRING'},
7373
{'name' => 'double', 'type' => 'STRING'},
7474
{'name' => 'string', 'type' => 'INTEGER'},
@@ -81,7 +81,7 @@ def test_fields_from_embulk_schema_with_column_options
8181
],
8282
}
8383
expected = [
84-
{name: 'boolean', type: 'STRING', mode: 'REQUIRED'},
84+
{name: 'boolean', type: 'STRING', mode: 'REQUIRED', description: 'hoge'},
8585
{name: 'long', type: 'STRING'},
8686
{name: 'double', type: 'STRING'},
8787
{name: 'string', type: 'INTEGER'},

0 commit comments

Comments
 (0)