Commit graph

4 commits

Author SHA1 Message Date
Tom Hughes
57c4438b75 Detect test environment correctly 2013-09-21 12:03:53 +01:00
John Firebaugh
c4edac9fd8 Always run tests using example.application.yml
This fixes an Oauth integration test failure when a
custom application.yml is present.
2013-08-01 17:26:48 +01:00
Tom Hughes
c9fa49c994 Update to rails 3 2011-11-14 09:42:40 +00:00
Tom Hughes
f07819d81a Rework application configuration
Use a preinitializer to load the settings from application.yml so
that they are available as early as possible. All settings can also
be overridden using environment variables.

The ad-hoc settins in environment.rb are then moved to this new
system so we have one consistent location for settings.
2010-08-04 22:06:05 +01:00