Raise NotImplementedError when using empty_insert_statement_value with Oracle

Refer: https://github.com/rsim/oracle-enhanced/pull/1180
This commit is contained in:
Koichi ITO 2017-02-16 17:34:24 +09:00
parent 6dccceef9c
commit d62a79fae4
2 changed files with 4 additions and 0 deletions

@ -143,6 +143,8 @@ def test_dup_with_default_scope
end
def test_dup_without_primary_key
skip if current_adapter?(:OracleAdapter)
klass = Class.new(ActiveRecord::Base) do
self.table_name = "parrots_pirates"
end

@ -183,6 +183,8 @@ def test_primary_key_update_with_custom_key_name
end
def test_create_without_primary_key_no_extra_query
skip if current_adapter?(:OracleAdapter)
klass = Class.new(ActiveRecord::Base) do
self.table_name = "dashboards"
end