# File 'lib/rectify/rspec/helpers.rb', line 11defstub_form(attributes)Rectify::StubForm.new(attributes)end
#stub_query(query_class, options = {}) ⇒ Object
6
7
8
9
# File 'lib/rectify/rspec/helpers.rb', line 6defstub_query(query_class,options={})results=options.fetch(:results,[])allow(query_class).toreceive(:new){StubQuery.new(results)}end