diff options
author | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2012-11-14 17:45:15 +0400 |
---|---|---|
committer | Riyad Preukschas <riyad@informatik.uni-bremen.de> | 2012-11-19 00:51:53 +0400 |
commit | 527d223680864a40887674768cf83a4a8626ead9 (patch) | |
tree | 0936522cb7f36dd8ba3624296af64f2c4003f7a8 /config/environments/test.rb | |
parent | 51f48392abb225eaed58a6368382cdc28a961d3b (diff) |
Update Rails config
Diffstat (limited to 'config/environments/test.rb')
-rw-r--r-- | config/environments/test.rb | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/config/environments/test.rb b/config/environments/test.rb index f5816e42b7f..b626986299b 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -2,9 +2,9 @@ Gitlab::Application.configure do # Settings specified here will take precedence over those in config/application.rb # The test environment is used exclusively to run your application's - # test suite. You never need to work with it otherwise. Remember that + # 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 - # and recreated between test runs. Don't rely on the data there! + # and recreated between test runs. Don't rely on the data there! config.cache_classes = true # Configure static asset server for tests with Cache-Control for performance @@ -29,17 +29,9 @@ Gitlab::Application.configure do # ActionMailer::Base.deliveries array. config.action_mailer.delivery_method = :test - # Use SQL instead of Active Record's schema dumper when creating the test database. - # This is necessary if your schema can't be completely dumped by the schema dumper, - # like if you have constraints or database-specific column types - # config.active_record.schema_format = :sql - # Raise exception on mass assignment protection for Active Record models # config.active_record.mass_assignment_sanitizer = :strict # Print deprecation notices to the stderr config.active_support.deprecation = :stderr - - # Allow pass debug_assets=true as a query parameter to load pages with unpackaged assets - config.assets.allow_debugging = true end |