lib/gumboot/shared_examples/database_schema.rb in aaf-gumboot-2.1.1 vs lib/gumboot/shared_examples/database_schema.rb in aaf-gumboot-2.1.3

- old
+ new

@@ -37,10 +37,10 @@ next if table_name == 'schema_migrations' expect(table).to( have_collations(%w[utf8_bin utf8mb4_bin], "`#{table_name}`") ) - query("SHOW FULL COLUMNS FROM #{table_name}").each do |column| + query("SHOW FULL COLUMNS FROM `#{table_name}`").each do |column| next unless column[:Collation] next if exemptions.any? do |except_table, except_columns| except_table == table_name.to_sym && except_columns.any? do |except_column| except_column == column[:Field].to_sym