diff options
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/adapters/postgresql/schema_test.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/activerecord/test/cases/adapters/postgresql/schema_test.rb b/activerecord/test/cases/adapters/postgresql/schema_test.rb index 6d98bd4a39..8668957d5a 100644 --- a/activerecord/test/cases/adapters/postgresql/schema_test.rb +++ b/activerecord/test/cases/adapters/postgresql/schema_test.rb @@ -223,15 +223,15 @@ class SchemaTest < ActiveRecord::TestCase def test_extract_schema_and_table { %(table_name) => [nil,'table_name'], - %("table.name") => [nil,'"table.name"'], + %("table.name") => [nil,'table.name'], %(schema.table_name) => %w{schema table_name}, - %("schema".table_name) => %w{"schema" table_name}, - %(schema."table_name") => %w{schema "table_name"}, - %("schema"."table_name") => %w{"schema" "table_name"}, - %("even spaces".table) => ['"even spaces"','table'], - %(schema."table.name") => %w{schema "table.name"} + %("schema".table_name) => %w{schema table_name}, + %(schema."table_name") => %w{schema table_name}, + %("schema"."table_name") => %w{schema table_name}, + %("even spaces".table) => ['even spaces','table'], + %(schema."table.name") => ['schema', 'table.name'] }.each do |given,expect| - assert_equal expect, @connection.extract_schema_and_table(given) + assert_equal expect, @connection.send(:extract_schema_and_table, given) end end |