From 464b7f3ddcf5e9b23741862bf8c7a49f61792de3 Mon Sep 17 00:00:00 2001 From: Raimonds Simanovskis Date: Fri, 23 Oct 2009 18:20:03 +0300 Subject: test fixes for Oracle enhanced adapter: latest oracle_enhanced adapter does automatic shortening of index names ignore select from all_triggers table in assert_queries --- activerecord/test/cases/migration_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activerecord/test/cases/migration_test.rb') diff --git a/activerecord/test/cases/migration_test.rb b/activerecord/test/cases/migration_test.rb index a0237d57a7..1edec66c25 100644 --- a/activerecord/test/cases/migration_test.rb +++ b/activerecord/test/cases/migration_test.rb @@ -1374,8 +1374,8 @@ if ActiveRecord::Base.connection.supports_migrations? return unless current_adapter? :OracleAdapter # table name is 29 chars, the standard sequence name will - # be 33 chars and fail - assert_raise(ActiveRecord::StatementInvalid) do + # be 33 chars and should be shortened + assert_nothing_raised do begin Person.connection.create_table :table_with_name_thats_just_ok do |t| t.column :foo, :string, :null => false -- cgit v1.2.3