Displaying 1 result from an estimated 1 matches for "support_typ".
Did you mean:
support_type
2007 Nov 20
3
How to test views with Nested Resources and Partials
...ontract.stub!(:primary_office).and_return("MyString")
@contract.stub!(:replacement_sdc_ref).and_return("MyString")
assigns[:contract] = @contract
@line_item = mock_model(LineItem)
@line_item.stub!(:contract_id).and_return("1")
@line_item.stub!(:support_type).and_return("MyString")
@line_item.stub!(:product_num).and_return("MyString")
@line_item.stub!(:serial_num).and_return("MyString")
@line_item.stub!(:description).and_return("MyString")
@line_item.stub!(:begins).and_return(Date.today)
@lin...