This test can be run, since we're using PostgreSQL

This commit is contained in:
Erik Michaels-Ober 2011-10-23 13:22:15 -07:00
parent 41d38de9bb
commit 89a736b790
1 changed files with 5 additions and 6 deletions

View File

@ -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