Tests for [17838]
Why is our testing fixtures such a mess? It took me half an hour to find a useable node. And I'm still not sure if it's ok, since I want to get to bed. kthxbye
This commit is contained in:
parent
ec26e06706
commit
76b6d7d876
7 changed files with 40 additions and 6 deletions
|
@ -4,7 +4,7 @@ class WayNodeTest < ActiveSupport::TestCase
|
|||
api_fixtures
|
||||
|
||||
def test_way_nodes_count
|
||||
assert_equal 4, WayNode.count
|
||||
assert_equal 6, WayNode.count
|
||||
end
|
||||
|
||||
end
|
||||
|
|
|
@ -6,7 +6,7 @@ class WayTest < ActiveSupport::TestCase
|
|||
# Check that we have the correct number of currnet ways in the db
|
||||
# This will need to updated whenever the current_ways.yml is updated
|
||||
def test_db_count
|
||||
assert_equal 4, Way.count
|
||||
assert_equal 5, Way.count
|
||||
end
|
||||
|
||||
def test_bbox
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue