# File lib/generators/test_unit/templates/clients_controller_test.rb, line 259 def test_should_query_current_users_client_applications @user.expects(:client_applications).returns(@client_applications) @client_applications.expects(:find).with('1').returns(@client_application) do_valid_update end