Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- it "should allow a get on complete"
- @contract = mock_model(Contract, :id => '1', :body => 'tra la la', :confirmation_number => 123)
- @client.stub!(:full_name).and_return('John Smith')
- @client.stub!(:generate_confirmation_number)
- get :complete
- response.should be_success
- response.should render_template('clients/complete')
- end
Add Comment
Please, Sign In to add comment