diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-09-13 22:26:08 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-09-13 22:26:08 -0300 |
commit | dbfdd00e38019f9e52df1f74d49a460d8cc1bba5 (patch) | |
tree | d400d86f5c4dc93b0b20983817b941b03cc05856 /activerecord/test | |
parent | 5aaf79a15ea49be201d409a82e0b7fe198a4c94d (diff) | |
download | rails-dbfdd00e38019f9e52df1f74d49a460d8cc1bba5.tar.gz rails-dbfdd00e38019f9e52df1f74d49a460d8cc1bba5.tar.bz2 rails-dbfdd00e38019f9e52df1f74d49a460d8cc1bba5.zip |
`skip` in Ruby 1.8 doesn't skip the test case without return
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/adapters/postgresql/connection_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/adapters/postgresql/connection_test.rb b/activerecord/test/cases/adapters/postgresql/connection_test.rb index 5c15de7039..28cdd1d588 100644 --- a/activerecord/test/cases/adapters/postgresql/connection_test.rb +++ b/activerecord/test/cases/adapters/postgresql/connection_test.rb @@ -55,7 +55,7 @@ module ActiveRecord # To restart PostgreSQL 9.1 on OS X, installed via MacPorts, ... # sudo su postgres -c "pg_ctl restart -D /opt/local/var/db/postgresql91/defaultdb/ -m fast" def test_reconnection_after_actual_disconnection_with_verify - skip "with_manual_interventions is false in configuration" unless ARTest.config['with_manual_interventions'] + return skip "with_manual_interventions is false in configuration" unless ARTest.config['with_manual_interventions'] original_connection_pid = @connection.query('select pg_backend_pid()') |