Load api fixtures in tag model tests
authorTom Hughes <tom@compton.nu>
Sun, 18 Dec 2016 17:00:52 +0000 (17:00 +0000)
committerTom Hughes <tom@compton.nu>
Sun, 18 Dec 2016 17:00:52 +0000 (17:00 +0000)
We still need them so we have the object to attach tags to.

test/models/node_tag_test.rb
test/models/old_node_tag_test.rb
test/models/old_relation_tag_test.rb
test/models/old_way_tag_test.rb
test/models/relation_tag_test.rb
test/models/way_tag_test.rb

index 29eda2bffbd61a6217cd6854a128dca147d90573..f1d8750a0efa2cedd077ec000d122b9d426c7105 100644 (file)
@@ -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|
index 3f0867a8772cd9813b8c84a07b193a2da1aff91b..f49be9256660d94a7dad0392ab101b459bab9f2d 100644 (file)
@@ -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|
index 58c70cc9c5fcba90aefe8b3316843a13c45452a0..5c27ef3ea57f63db34280dc52fa8585b546e81e8 100644 (file)
@@ -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|
index 057bdf4f0dca4650a9f71d4be10081aa477c3029..9a258ffb91f76fbab187dba69a71d2649b3025a0 100644 (file)
@@ -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|
index 3b4d2cdfcbcd5e0fc400a7ff74c745ae56c03db5..f221f78cc9fac44c112b82f03f904e8503104e17 100644 (file)
@@ -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|
index cde5bd4158d283ddee959c2024133a6fbf01c221..ae8be73b3f5183587e3e036b7e47f99546a5aac6 100644 (file)
@@ -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|