spec/adapters/oracle_spec.rb in sequel-4.48.0 vs spec/adapters/oracle_spec.rb in sequel-4.49.0
- old
+ new
@@ -1,8 +1,12 @@
SEQUEL_ADAPTER_TEST = :oracle
require File.join(File.dirname(File.expand_path(__FILE__)), 'spec_helper.rb')
+unless DB.opts[:autosequence]
+ warn "Running oracle adapter specs without :autosequence Database option results in many errors, use the :autosequence Database option when testing"
+end
+
describe "An Oracle database" do
before(:all) do
DB.create_table!(:items) do
String :name, :size => 50
Integer :value