diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-02-07 08:33:32 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2013-02-07 08:33:35 -0200 |
commit | dca0b57d03deffc933763482e615c3cf0b9a1d97 (patch) | |
tree | 55b3aa6f91e7d195531a4f8f427b96f9ead614b4 /activerecord | |
parent | 1b75666f7f4ec7f013182d24b919ca27b0ca0068 (diff) | |
download | rails-dca0b57d03deffc933763482e615c3cf0b9a1d97.tar.gz rails-dca0b57d03deffc933763482e615c3cf0b9a1d97.tar.bz2 rails-dca0b57d03deffc933763482e615c3cf0b9a1d97.zip |
Skip schema dumper extensions test if connection does not support it
Travis failed because the postgresql version installed there does not
support extensions, so we just need to skip this for now.
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/schema_dumper_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activerecord/test/cases/schema_dumper_test.rb b/activerecord/test/cases/schema_dumper_test.rb index 50a8f79ad9..bfecc0d1e9 100644 --- a/activerecord/test/cases/schema_dumper_test.rb +++ b/activerecord/test/cases/schema_dumper_test.rb @@ -232,6 +232,7 @@ class SchemaDumperTest < ActiveRecord::TestCase if current_adapter?(:PostgreSQLAdapter) def test_schema_dump_includes_extensions connection = ActiveRecord::Base.connection + skip unless connection.supports_extensions? connection.stubs(:extensions).returns(['hstore']) output = standard_dump |