diff options
author | Henare Degan <henare.degan@gmail.com> | 2013-02-20 11:58:48 +1100 |
---|---|---|
committer | Henare Degan <henare.degan@gmail.com> | 2013-02-20 12:23:55 +1100 |
commit | 7f93d7f1d486f55f6ebe9da37150d16b1a4fa634 (patch) | |
tree | 7a81d926f9f0d222573ca37de17d2297a4218ed8 /app/models/info_request.rb | |
parent | d2888c4bfce13dc60f7c54de2f68228f6c664107 (diff) |
Remove deprecated constants - #589
Diffstat (limited to 'app/models/info_request.rb')
-rw-r--r-- | app/models/info_request.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/info_request.rb b/app/models/info_request.rb index 9d8fc29fd..375d972a3 100644 --- a/app/models/info_request.rb +++ b/app/models/info_request.rb @@ -152,7 +152,7 @@ class InfoRequest < ActiveRecord::Base @@custom_states_loaded = false begin - if ENV["RAILS_ENV"] != "test" + if !Rails.env.test? require 'customstates' include InfoRequestCustomStates @@custom_states_loaded = true |