diff options
author | Anil Wadghule <anildigital@gmail.com> | 2010-04-26 20:55:07 +0530 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2010-04-26 11:12:52 -0700 |
commit | 53c13f1acaa2eb05e7f418b53f6156a4f5a773e0 (patch) | |
tree | e6a0a66b7f4af519f03a190db5443b2e6d11fcce /actionpack | |
parent | e813ad2a42549e308a69fd9473f1b9ed531a0d7e (diff) | |
download | rails-53c13f1acaa2eb05e7f418b53f6156a4f5a773e0.tar.gz rails-53c13f1acaa2eb05e7f418b53f6156a4f5a773e0.tar.bz2 rails-53c13f1acaa2eb05e7f418b53f6156a4f5a773e0.zip |
Use Config::CONFIG['host_os'] instead of RUBY_PLATFORM [#4477 state:resolved]
Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
Diffstat (limited to 'actionpack')
-rw-r--r-- | actionpack/test/controller/layout_test.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/actionpack/test/controller/layout_test.rb b/actionpack/test/controller/layout_test.rb index e1c1128753..48be7571ea 100644 --- a/actionpack/test/controller/layout_test.rb +++ b/actionpack/test/controller/layout_test.rb @@ -1,4 +1,5 @@ require 'abstract_unit' +require 'rbconfig' # The view_paths array must be set on Base and not LayoutTest so that LayoutTest's inherited # method has access to the view_paths array when looking for a layout to automatically assign. @@ -209,7 +210,7 @@ class LayoutStatusIsRenderedTest < ActionController::TestCase end end -unless RUBY_PLATFORM =~ /mswin|mingw/ +unless Config::CONFIG['host_os'] =~ /mswin|mingw/ class LayoutSymlinkedTest < LayoutTest layout "symlinked/symlinked_layout" end |