lib/active_graph/shared/query_factory.rb in activegraph-10.0.0.pre.beta.8 vs lib/active_graph/shared/query_factory.rb in activegraph-10.0.0.pre.beta.9

- old
+ new

@@ -16,10 +16,10 @@ def self.factory_for(graph_obj) case when graph_obj.respond_to?(:labels_for_create) NodeQueryFactory - when graph_obj.respond_to?(:rel_type) + when graph_obj.respond_to?(:type) RelQueryFactory else fail "Unable to find factory for #{graph_obj}" end end