From dbfdd00e38019f9e52df1f74d49a460d8cc1bba5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Thu, 13 Sep 2012 22:26:08 -0300 Subject: `skip` in Ruby 1.8 doesn't skip the test case without return --- activerecord/test/cases/adapters/postgresql/connection_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/test') 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()') -- cgit v1.2.3