diff options
author | Paul Gallagher <gallagher.paul@gmail.com> | 2011-06-10 22:48:58 +0800 |
---|---|---|
committer | Paul Gallagher <gallagher.paul@gmail.com> | 2011-06-10 22:48:58 +0800 |
commit | 019c263633242f4329f44f863705435f58e1d884 (patch) | |
tree | cd6b87d0b27d6edbd81f2234e52e0959f6d5d536 /activerecord/test/cases/adapters/postgresql | |
parent | 5c7f8c929b228063b224eaa17360dcc105788296 (diff) | |
download | rails-019c263633242f4329f44f863705435f58e1d884.tar.gz rails-019c263633242f4329f44f863705435f58e1d884.tar.bz2 rails-019c263633242f4329f44f863705435f58e1d884.zip |
apply private method indentation convention
* tidy test code and fix my typo
Diffstat (limited to 'activerecord/test/cases/adapters/postgresql')
-rw-r--r-- | activerecord/test/cases/adapters/postgresql/postgresql_adapter_test.rb | 2 | ||||
-rw-r--r-- | activerecord/test/cases/adapters/postgresql/schema_test.rb | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/activerecord/test/cases/adapters/postgresql/postgresql_adapter_test.rb b/activerecord/test/cases/adapters/postgresql/postgresql_adapter_test.rb index b113267dca..9943cd18f6 100644 --- a/activerecord/test/cases/adapters/postgresql/postgresql_adapter_test.rb +++ b/activerecord/test/cases/adapters/postgresql/postgresql_adapter_test.rb @@ -11,7 +11,7 @@ module ActiveRecord end def test_primary_key - assert_equal 'id',@connection.primary_key('ex') + assert_equal 'id', @connection.primary_key('ex') end def test_non_standard_primary_key diff --git a/activerecord/test/cases/adapters/postgresql/schema_test.rb b/activerecord/test/cases/adapters/postgresql/schema_test.rb index d4797e1680..a12f689802 100644 --- a/activerecord/test/cases/adapters/postgresql/schema_test.rb +++ b/activerecord/test/cases/adapters/postgresql/schema_test.rb @@ -225,8 +225,8 @@ class SchemaTest < ActiveRecord::TestCase def test_current_schema { - %('$user',public) => 'public', - SCHEMA_NAME => SCHEMA_NAME, + %('$user',public) => 'public', + SCHEMA_NAME => SCHEMA_NAME, %(#{SCHEMA2_NAME},#{SCHEMA_NAME},public) => SCHEMA2_NAME, %(public,#{SCHEMA2_NAME},#{SCHEMA_NAME}) => 'public' }.each do |given,expect| |