1. Generate asset paths during tests as well.
2. Don't get the asset paths using ApplicationController.helpers.asset_path, as it triggers circular dependencies during capybara tests.
Merge pull request #2 from lbeder/master

Support test environments