Changeset 4

Show
Ignore:
Timestamp:
07/17/2006 04:23:47 AM (2 years ago)
Author:
matthew
Message:

Allow an environment variable (ADMIN_THEME) to override the default
theme in the test harness.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/test-harness/config/environment.rb

    r1 r4  
    5252  admin.set_site_info 'http://example.example/', 'My Example Site' 
    5353  admin.primary_objects = [:customer, :address] 
    54   admin.theme = :django 
     54  admin.theme = (ENV['ADMIN_THEME'] || :django) 
    5555end 
    5656