projects
/
rails.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed up way controller tests for API 0.6.
[rails.git]
/
test
/
functional
/
api_controller_test.rb
diff --git
a/test/functional/api_controller_test.rb
b/test/functional/api_controller_test.rb
index 05cbe2af0ac5d8ab4a33816dfb30485e3dde1c72..4c4787ff76e0e0e05e0da2971ad983f0098bf944 100644
(file)
--- a/
test/functional/api_controller_test.rb
+++ b/
test/functional/api_controller_test.rb
@@
-23,7
+23,7
@@
class ApiControllerTest < Test::Unit::TestCase
def test_map
node = current_nodes(:used_node_1)
def test_map
node = current_nodes(:used_node_1)
- bbox = "#{node.lat
itude-0.1},#{node.longitude-0.1},#{node.latitude+0.1},#{node.longitude
+0.1}"
+ bbox = "#{node.lat
-0.1},#{node.lon-0.1},#{node.lat+0.1},#{node.lon
+0.1}"
get :map, :bbox => bbox
if $VERBOSE
print @response.body
get :map, :bbox => bbox
if $VERBOSE
print @response.body