This test can be run, since we're using PostgreSQL
This commit is contained in:
parent
41d38de9bb
commit
89a736b790
|
@ -5,12 +5,11 @@ class ThingsControllerTest < ActionController::TestCase
|
||||||
@thing = things(:thing_1)
|
@thing = things(:thing_1)
|
||||||
end
|
end
|
||||||
|
|
||||||
# test 'should list hydrants' do
|
test 'should list hydrants' do
|
||||||
# skip 'Cannot test query on sqlite3 test database'
|
get :show, :format => 'json', :lat => 42.358431, :lng => -71.059773
|
||||||
# get :show, :format => 'json', :lat => 42.358431, :lng => -71.059773
|
assert_not_nil assigns :things
|
||||||
# assert_not_nil assigns :things
|
assert_response :success
|
||||||
# assert_response :success
|
end
|
||||||
# end
|
|
||||||
|
|
||||||
test 'should update hydrant' do
|
test 'should update hydrant' do
|
||||||
assert_not_equal 'Birdsill', @thing.name
|
assert_not_equal 'Birdsill', @thing.name
|
||||||
|
|
Loading…
Reference in New Issue