From d51c8da47421b6f0ab4ea6668a22fff692e81452 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 5 Apr 2009 21:38:31 -0700 Subject: test_configurator: rename test name that never ran Run tests with warnings so we detect stupid things like this. --- GNUmakefile | 2 +- test/unit/test_configurator.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 5ef370d..2ed1ddf 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -78,7 +78,7 @@ else quiet_pre = @echo $(ruby) $(arg) $(TEST_OPTS); ! test -f $(stamp) && ( quiet_post = && > $(stamp) )>&2 | tee $(t); rm $(stamp) 2>/dev/null endif -run_test = $(quiet_pre) setsid $(ruby) $(arg) $(TEST_OPTS) $(quiet_post) || \ +run_test = $(quiet_pre) setsid $(ruby) -w $(arg) $(TEST_OPTS) $(quiet_post) || \ (sed "s,^,$(extra): ," >&2 < $(t); exit 1) %.n: arg = $(subst .n,,$(subst --, -n ,$@)) diff --git a/test/unit/test_configurator.rb b/test/unit/test_configurator.rb index 46fc248..0baaa79 100644 --- a/test/unit/test_configurator.rb +++ b/test/unit/test_configurator.rb @@ -4,7 +4,7 @@ require 'unicorn/configurator' class TestConfigurator < Test::Unit::TestCase - def test_config_defaults + def test_config_init assert_nothing_raised { Unicorn::Configurator.new {} } end -- cgit v1.2.3-24-ge0c7