From 89a736b79010354b54f2e1336033299b7b860a9e Mon Sep 17 00:00:00 2001 From: Erik Michaels-Ober Date: Sun, 23 Oct 2011 13:22:15 -0700 Subject: [PATCH] This test can be run, since we're using PostgreSQL --- test/functional/things_controller_test.rb | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/test/functional/things_controller_test.rb b/test/functional/things_controller_test.rb index 160f78a..c8b2281 100644 --- a/test/functional/things_controller_test.rb +++ b/test/functional/things_controller_test.rb @@ -5,12 +5,11 @@ class ThingsControllerTest < ActionController::TestCase @thing = things(:thing_1) end - # test 'should list hydrants' do - # skip 'Cannot test query on sqlite3 test database' - # get :show, :format => 'json', :lat => 42.358431, :lng => -71.059773 - # assert_not_nil assigns :things - # assert_response :success - # end + test 'should list hydrants' do + get :show, :format => 'json', :lat => 42.358431, :lng => -71.059773 + assert_not_nil assigns :things + assert_response :success + end test 'should update hydrant' do assert_not_equal 'Birdsill', @thing.name