Load api fixtures in tag model tests
We still need them so we have the object to attach tags to.
This commit is contained in:
parent
0da97d2d3c
commit
9badc45929
6 changed files with 12 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
|||
require "test_helper"
|
||||
|
||||
class NodeTagTest < ActiveSupport::TestCase
|
||||
api_fixtures
|
||||
|
||||
def test_length_key_valid
|
||||
tag = create(:node_tag)
|
||||
(0..255).each do |i|
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
require "test_helper"
|
||||
|
||||
class OldNodeTagTest < ActiveSupport::TestCase
|
||||
api_fixtures
|
||||
|
||||
def test_length_key_valid
|
||||
tag = create(:old_node_tag)
|
||||
(0..255).each do |i|
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
require "test_helper"
|
||||
|
||||
class OldRelationTagTest < ActiveSupport::TestCase
|
||||
api_fixtures
|
||||
|
||||
def test_length_key_valid
|
||||
tag = create(:old_relation_tag)
|
||||
(0..255).each do |i|
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
require "test_helper"
|
||||
|
||||
class OldWayTagTest < ActiveSupport::TestCase
|
||||
api_fixtures
|
||||
|
||||
def test_length_key_valid
|
||||
tag = create(:old_way_tag)
|
||||
(0..255).each do |i|
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
require "test_helper"
|
||||
|
||||
class RelationTagTest < ActiveSupport::TestCase
|
||||
api_fixtures
|
||||
|
||||
def test_length_key_valid
|
||||
tag = create(:relation_tag)
|
||||
(0..255).each do |i|
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
require "test_helper"
|
||||
|
||||
class WayTagTest < ActiveSupport::TestCase
|
||||
api_fixtures
|
||||
|
||||
def test_length_key_valid
|
||||
tag = create(:way_tag)
|
||||
(0..255).each do |i|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue