Sha256: 76c16da38db16c8242d29c3732708d5ce257594b0d9afb1d8f21145e7b000694
Contents?: true
Size: 666 Bytes
Versions: 16
Compression:
Stored size: 666 Bytes
Contents
require_relative 'spec_helper' describe PeopleController do describe "hire_form action" do # no idea why I can't call get # I am terrible at testing def get_hire_form(input_params = nil) params = input_params || { :in_progress_form_id => 1, :multipart_form_part => :person_info } get :hire_form, params end #it "should call the form handler" do # @controller.should_receive(:multipart_form_handler) # get_hire_form #end #it "should save the multipart form part for the form so it is available for the view" do # get_hire_form # assigns[:multipart_form_part].should == :person_info #end end end
Version data entries
16 entries across 16 versions & 1 rubygems