spree/spree — pull request #1296 by radar (2012-03-20 16:12:50+00:00)
Title: Isolation of components during testing 

Hi,

There was an issue (#1292) brought up yesterday where Spencer attempted to run tests for an extension only to run into an issue where we were referencing `current_user` inside of Core when we should truly never be doing something like that. All references to `current_user` should be in the `auth` component.

To ensure that something like this never comes up again, I've taken the time to separate the testing of the individual components of Spree and have run the tests to determine if there were any more places where issues like #1292 would come up. There were, and they have been fixed.

When the build passes for the isolation branch on Travis, it should be good to merge this in... providing that everyone agrees that this is the way forward.