Navigation Menu

Skip to content

Commit

Permalink
Set default configurations for the fixture database
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Aug 22, 2012
1 parent e6438ca commit 5a2bf5b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/api-search.test.js
Expand Up @@ -68,6 +68,7 @@ suite('Search API', function() {
suite('with fixture loaded', function() {
setup(function() {
utils.loadDumpFile(context, __dirname + '/fixture/companies/ddl.grn');
utils.loadDumpFile(context, __dirname + '/fixture/companies/configurations.grn');
utils.loadDumpFile(context, __dirname + '/fixture/companies/data.grn');
});

Expand Down
22 changes: 22 additions & 0 deletions test/fixture/companies/configurations.grn
@@ -0,0 +1,22 @@
load --table companies_00000000000000000000000000_configurations
[
["_key","value"],
["column_age_option_facet_enabled","true"],
["column_address_option_facet_enabled","true"],
["column_email_address_option_facet_enabled","true"],
["column_description_option_facet_enabled","true"],
["column_name_option_facet_enabled","true"],
["column_product_option_facet_enabled","true"],
["column_age_option_result_enabled","true"],
["column_address_option_result_enabled","true"],
["column_email_address_option_result_enabled","true"],
["column_description_option_result_enabled","true"],
["column_name_option_result_enabled","true"],
["column_product_option_result_enabled","true"],
["column_age_option_search_enabled","true"],
["column_address_option_search_enabled","true"],
["column_email_address_option_search_enabled","true"],
["column_description_option_search_enabled","true"],
["column_name_option_search_enabled","true"],
["column_product_option_search_enabled","true"]
]

0 comments on commit 5a2bf5b

Please sign in to comment.