jemaddux/son_of_store_engine — pull request #7 by chelseakomlo (2013-04-11 22:44:02+00:00)
Title: Order validation tests

- Changed order create method to create a new "dummy" User when the user checks out but is not logged in.

- Made this change to not have 'nil' in the database for the Order.user_id, and to allow users to view their past orders once they do create a new account.

-TODO- write Unit and integration tests for the new controller methods that were created. Write a user unit test to test for the "dummy" user that is created.