aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/fixtures_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/test/fixtures_test.rb')
-rwxr-xr-xactiverecord/test/fixtures_test.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/activerecord/test/fixtures_test.rb b/activerecord/test/fixtures_test.rb
index 69ffcc6019..7666777184 100755
--- a/activerecord/test/fixtures_test.rb
+++ b/activerecord/test/fixtures_test.rb
@@ -53,9 +53,7 @@ class FixturesTest < Test::Unit::TestCase
def test_inserts_with_pre_and_suffix
# not supported yet in OCI adapter
- if ActiveRecord::ConnectionAdapters.const_defined? :OCIAdapter
- return true if ActiveRecord::Base.connection.instance_of?(ActiveRecord::ConnectionAdapters::OCIAdapter)
- end
+ return true if current_adapter?(:OCIAdapter)
ActiveRecord::Base.connection.create_table :prefix_topics_suffix do |t|
t.column :title, :string