aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2006-11-13 19:23:32 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2006-11-13 19:23:32 +0000
commit4978d1dce781f7ab81826cec5e3df4ae2cfd1bd7 (patch)
treec529f5d1fb50d0222d7d4ea7074e6974083c36c6 /activerecord/test
parent56e3e2fde5f2b824df37fabc55db34f4ff337ebb (diff)
downloadrails-4978d1dce781f7ab81826cec5e3df4ae2cfd1bd7.tar.gz
rails-4978d1dce781f7ab81826cec5e3df4ae2cfd1bd7.tar.bz2
rails-4978d1dce781f7ab81826cec5e3df4ae2cfd1bd7.zip
Oracle: automatically detect the primary key. Closes #6594.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5514 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/schema_dumper_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/schema_dumper_test.rb b/activerecord/test/schema_dumper_test.rb
index 3ca6febb89..016f66077d 100644
--- a/activerecord/test/schema_dumper_test.rb
+++ b/activerecord/test/schema_dumper_test.rb
@@ -47,7 +47,7 @@ if ActiveRecord::Base.connection.respond_to?(:tables)
def test_schema_dump_includes_not_null_columns
stream = StringIO.new
- ActiveRecord::SchemaDumper.ignore_tables = [/^[^s]/]
+ ActiveRecord::SchemaDumper.ignore_tables = [/^[^r]/]
ActiveRecord::SchemaDumper.dump(ActiveRecord::Base.connection, stream)
output = stream.string
assert_match %r{:null => false}, output