From ec9af45f026321cf46d0c01c43c76af87b590370 Mon Sep 17 00:00:00 2001 From: Joenio Costa Date: Wed, 3 Dec 2008 10:55:07 -0300 Subject: [PATCH] ActionItem860: fix error on unit test --- test/unit/google_maps_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/google_maps_test.rb b/test/unit/google_maps_test.rb index c58c817..5a7aa1e 100644 --- a/test/unit/google_maps_test.rb +++ b/test/unit/google_maps_test.rb @@ -36,12 +36,12 @@ class GoogleMapsTest < Test::Unit::TestCase should 'not crash if config not informed' do File.expects(:exists?).with(CONFIG_FILE).returns(true) YAML.expects(:load_file).with(CONFIG_FILE).returns({}) - assert_nil GoogleMaps.key + assert_equal '', GoogleMaps.key end should 'not crash if config file not found' do GoogleMaps.expects(:config_file).returns('/not/present.yml') - assert_nil GoogleMaps.key + assert_equal '', GoogleMaps.key end should 'point correctly to google maps' do -- libgit2 0.21.2