diff --git a/spec/adapters/mysql_spec.rb b/spec/adapters/mysql_spec.rb index e7913ed..4df5044 100644 --- a/spec/adapters/mysql_spec.rb +++ b/spec/adapters/mysql_spec.rb @@ -15,7 +15,7 @@ let(:translator) { Polo::SqlTranslator.new(netto, Polo::Configuration.new(adapter: :mysql)) } describe '#ignore_transform' do - it 'appends the IGNORE command after INSERTs' + it 'appends the IGNORE command after INSERTs' do insert_netto = [%q{INSERT IGNORE INTO "chefs" ("id", "name", "email") VALUES (1, 'Netto', 'nettofarah@gmail.com')}] records = translator.records @@ -27,7 +27,7 @@ describe '#on_duplicate_key_update' do - it 'appends ON DUPLICATE KEY UPDATE with all values to the current INSERT statement' + it 'appends ON DUPLICATE KEY UPDATE with all values to the current INSERT statement' do insert_netto = [ %q{INSERT INTO "chefs" ("id", "name", "email") VALUES (1, 'Netto', 'nettofarah@gmail.com') ON DUPLICATE KEY UPDATE id = VALUES(id), name = VALUES(name), email = VALUES(email)} ] diff --git a/spec/adapters/postgres_spec.rb b/spec/adapters/postgres_spec.rb index 75026f5..98c7ef6 100644 --- a/spec/adapters/postgres_spec.rb +++ b/spec/adapters/postgres_spec.rb @@ -21,7 +21,7 @@ end describe '#ignore_transform' do - it 'transforms INSERT by appending WHERE NOT EXISTS clause' + it 'transforms INSERT by appending WHERE NOT EXISTS clause' do insert_netto = [%q{INSERT INTO "chefs" ("id", "name", "email") SELECT 1, 'Netto', 'nettofarah@gmail.com' WHERE NOT EXISTS (SELECT 1 FROM chefs WHERE id=1);}]