From 2e8c0d471fbefa97d1dd4fb5c5749280a4187f88 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 17 May 2017 16:05:23 +0100 Subject: [PATCH] Ensure invisible_way is actually deleted --- test/models/way_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/models/way_test.rb b/test/models/way_test.rb index fe8dacf33..341353046 100644 --- a/test/models/way_test.rb +++ b/test/models/way_test.rb @@ -13,7 +13,7 @@ class WayTest < ActiveSupport::TestCase node = create(:node) visible_way = create(:way) create(:way_node, :way => visible_way, :node => node) - invisible_way = create(:way) + invisible_way = create(:way, :deleted) create(:way_node, :way => invisible_way, :node => node) used_way = create(:way) create(:way_node, :way => used_way, :node => node) -- 2.39.5