+ old_relation_v1 = create(:old_relation)
+ old_relation_v2 = create(:old_relation, :current_relation => old_relation_v1.current_relation, :version => 2)
+ old_relation_v3 = create(:old_relation, :current_relation => old_relation_v1.current_relation, :version => 3)
+ old_relation_v4 = create(:old_relation, :current_relation => old_relation_v1.current_relation, :version => 4)
+ member_node = create(:node)
+ member_way = create(:way)
+ member_relation = create(:relation)
+ create(:old_relation_member, :old_relation => old_relation_v1, :member => member_node, :member_role => "some node")
+ create(:old_relation_member, :old_relation => old_relation_v2, :member => member_node, :member_role => "some changed node")
+ create(:old_relation_member, :old_relation => old_relation_v3, :member => member_node, :member_role => "some changed node")
+ create(:old_relation_member, :old_relation => old_relation_v3, :member => member_relation, :member_role => "some relation")
+ create(:old_relation_member, :old_relation => old_relation_v4, :member => member_node, :member_role => "some node")
+ create(:old_relation_member, :old_relation => old_relation_v4, :member => member_way, :member_role => "some way")
+ create(:old_relation_member, :old_relation => old_relation_v4, :member => member_relation, :member_role => "some relation")
+
+ members = OldRelation.find(old_relation_v1.id).relation_members