lib/generators/rspec/enquiry/templates/enquiry_spec.rb in riveter-0.2.0 vs lib/generators/rspec/enquiry/templates/enquiry_spec.rb in riveter-0.2.1

- old
+ new

@@ -52,10 +52,10 @@ it "can be iterated" do block = Mock::Block.new() expect(block).to receive(:call).any_number_of_times subject.submit(valid_query_filter_attributes) - subject.query_results.each &block + subject.query_results.each(&block) end it "fails with invalid attributes" do allow(subject).to receive(:create_query_filter) { Mock::InvalidQueryFilter.new() } subject.submit()