diff options
author | Matthew Draper <matthew@trebex.net> | 2017-04-04 03:00:58 +0930 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-04 03:00:58 +0930 |
commit | 67d210f7d76a2fa96ff41560fed2910147787ad4 (patch) | |
tree | 972cc7f64e3bf0fc307a933d89c4d473cfe63171 /activerecord/test/cases | |
parent | 5993b47e54ddf7befe77469f13365c815ac97022 (diff) | |
parent | d62a79fae4f024872942057fcc0093ae95ec5e49 (diff) | |
download | rails-67d210f7d76a2fa96ff41560fed2910147787ad4.tar.gz rails-67d210f7d76a2fa96ff41560fed2910147787ad4.tar.bz2 rails-67d210f7d76a2fa96ff41560fed2910147787ad4.zip |
Merge pull request #28029 from koic/empty_insert_statement_value_not_supported
Raise NotImplementedError when using empty_insert_statement_value with Oracle
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/dup_test.rb | 2 | ||||
-rw-r--r-- | activerecord/test/cases/primary_keys_test.rb | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/activerecord/test/cases/dup_test.rb b/activerecord/test/cases/dup_test.rb index 3821e0c949..000ed27efb 100644 --- a/activerecord/test/cases/dup_test.rb +++ b/activerecord/test/cases/dup_test.rb @@ -143,6 +143,8 @@ module ActiveRecord end def test_dup_without_primary_key + skip if current_adapter?(:OracleAdapter) + klass = Class.new(ActiveRecord::Base) do self.table_name = "parrots_pirates" end diff --git a/activerecord/test/cases/primary_keys_test.rb b/activerecord/test/cases/primary_keys_test.rb index 12386635f6..5ded619716 100644 --- a/activerecord/test/cases/primary_keys_test.rb +++ b/activerecord/test/cases/primary_keys_test.rb @@ -183,6 +183,8 @@ class PrimaryKeysTest < ActiveRecord::TestCase 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 |