test/plugin/test_out_sql.rb in fluent-plugin-sql-0.5.1 vs test/plugin/test_out_sql.rb in fluent-plugin-sql-0.5.2

- old
+ new

@@ -36,19 +36,21 @@ port: 5432, adapter: "postgresql", database: "fluentd_test", username: "fluentd", password: "fluentd", - remove_tag_suffix: /^db/ + remove_tag_suffix: /^db/, + enable_fallback: true } actual = { host: d.instance.host, port: d.instance.port, adapter: d.instance.adapter, database: d.instance.database, username: d.instance.username, password: d.instance.password, - remove_tag_suffix: d.instance.remove_tag_prefix + remove_tag_suffix: d.instance.remove_tag_prefix, + enable_fallback: d.instance.enable_fallback } assert_equal(expected, actual) assert_empty(d.instance.tables) default_table = d.instance.instance_variable_get(:@default_table) assert_equal("logs", default_table.table)