Ticket #5906: schema_test_postgresql.rb.patch
| File schema_test_postgresql.rb.patch, 0.6 kB (added by baudelairien, 1 year ago) |
|---|
-
test/schema_test_postgresql.rb
old new 48 48 assert_nothing_raised { with_schema_search_path nil } 49 49 end 50 50 51 def test_lists_tables_with_spacey_schema_search_path 52 assert_nothing_raised do 53 with_schema_search_path("public, #{SCHEMA_NAME}") do 54 assert @connection.tables.include?(TABLE_NAME) 55 end 56 end 57 end 58 51 59 private 52 60 def columns(table_name) 53 61 @connection.send(:column_definitions, table_name).map do |name, type, default|