- [:visible_relation, :invisible_relation, :used_relation].each do |relation|
- create(:relation_tag, :relation => current_relations(relation), :k => "test", :v => "yes")
+ first_relation = create(:relation)
+ deleted_relation = create(:relation)
+ third_relation = create(:relation)
+
+ [first_relation, deleted_relation, third_relation].each do |relation|
+ create(:relation_tag, :relation => relation, :k => "test", :v => "yes")