spec/support/integration_helper.rb in rubix-0.0.9 vs spec/support/integration_helper.rb in rubix-0.0.10
- old
+ new
@@ -62,10 +62,10 @@
truncate_all_tables
$RUBIX_INTEGRATION_TEST = true
end
- RUBIX_TABLES_TO_TRUNCATE = %w[applications groups hostmacro hosts hosts_groups hosts_profiles hosts_profiles_ext hosts_templates items items_applications profiles triggers]
+ RUBIX_TABLES_TO_TRUNCATE = %w[applications groups hostmacro hosts hosts_groups hosts_profiles hosts_profiles_ext hosts_templates items items_applications profiles triggers trigger_depends]
def self.truncate_all_tables
return unless $RUBIX_INTEGRATION_TEST
RUBIX_TABLES_TO_TRUNCATE.each { |table| $RUBIX_MYSQL_CLIENT.query("TRUNCATE TABLE #{table}") }
end