Having a table with a column called ID that is only part of the primary key really doesn't work as rails likes to treat ID as a special name so it becomes impossible to assign to it or read it.
9 lines
183 B
Ruby
9 lines
183 B
Ruby
require File.dirname(__FILE__) + '/../test_helper'
|
|
|
|
class WayNodeTest < ActiveSupport::TestCase
|
|
api_fixtures
|
|
|
|
def test_way_nodes_count
|
|
assert_equal 6, WayNode.count
|
|
end
|
|
end
|