diff options
author | Robin Houston <robin.houston@gmail.com> | 2012-01-31 10:04:47 +0000 |
---|---|---|
committer | Robin Houston <robin.houston@gmail.com> | 2012-01-31 10:04:47 +0000 |
commit | 7c6eb09daf0ad55c0286995529a82076d29fdbc8 (patch) | |
tree | c873bc13a2b4e0641c7a059e8018947531498e3d /config/environments/test.rb | |
parent | 4df36f9f06132a926a211590c8e546a5086961d9 (diff) |
Avoid need to be db superuser to run tests
Add a patch from louisecrow (https://github.com/mysociety/fixmytransport/blob/master/lib/patches/fixtures_constraint_disabling.rb)
that makes it possible to run the tests without being a database superuser.
Diffstat (limited to 'config/environments/test.rb')
-rw-r--r-- | config/environments/test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/environments/test.rb b/config/environments/test.rb index 8d6041ad9..be28c3df6 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -1,5 +1,7 @@ # Settings specified here will take precedence over those in config/environment.rb +require 'lib/patches/fixtures_constraint_disabling' + # The test environment is used exclusively to run your application's # test suite. You never need to work with it otherwise. Remember that # your test database is "scratch space" for the test suite and is wiped |