spec/unit/rom/ra/operation/group_spec.rb in rom-0.4.1 vs spec/unit/rom/ra/operation/group_spec.rb in rom-0.4.2

- old
+ new

@@ -1,11 +1,11 @@ require 'spec_helper' describe 'Group operation' do - subject(:group) { opts = options; relation.in_memory { group(opts) } } + subject(:group) { relation.group(options) } let(:relation) do - ROM::Relation.new(dataset, header) + ROM::Relation.new(dataset, header).extend(ROM::RA) end let(:header) do [:name, :email, :street, :zipcode, :city] end