lib/pact_broker/functions/groupify.rb in pact_broker-1.3.1 vs lib/pact_broker/functions/groupify.rb in pact_broker-1.3.2.rc1

- old
+ new

@@ -1,6 +1,6 @@ -require 'pact_broker/models/group' +require 'pact_broker/domain/group' =begin Splits all relationships up into groups of non-connecting relationships. =end @@ -9,10 +9,10 @@ module Functions class Groupify def self.call relationships - recurse_groups([], relationships.dup).collect{ | group | Models::Group.new(group) } + recurse_groups([], relationships.dup).collect{ | group | Domain::Group.new(group) } end def self.recurse_groups groups, relationship_pool if relationship_pool.empty? groups \ No newline at end of file