diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-06-25 15:24:12 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-06-25 15:24:12 -0500 |
commit | 339491a6b37722497ebafe9998e17507f47e8fd6 (patch) | |
tree | 96e7dc63607054c6e3ce6f08e41a9e96d8a44ea5 /actionpack/test/template/render_test.rb | |
parent | a9259ccfe05690dc4cb7993d551603c39619c27f (diff) | |
download | rails-339491a6b37722497ebafe9998e17507f47e8fd6.tar.gz rails-339491a6b37722497ebafe9998e17507f47e8fd6.tar.bz2 rails-339491a6b37722497ebafe9998e17507f47e8fd6.zip |
Set precompiled fixture load path constant to speed up tests
Diffstat (limited to 'actionpack/test/template/render_test.rb')
-rw-r--r-- | actionpack/test/template/render_test.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/actionpack/test/template/render_test.rb b/actionpack/test/template/render_test.rb index bdabe07121..54e4bbda1b 100644 --- a/actionpack/test/template/render_test.rb +++ b/actionpack/test/template/render_test.rb @@ -2,11 +2,9 @@ require 'abstract_unit' require 'controller/fake_models' class ViewRenderTest < Test::Unit::TestCase - FIXTURE_LOAD_PATHS = ActionView::ViewLoadPaths.new([File.join(File.dirname(__FILE__), '..', 'fixtures')]) - def setup @assigns = { :secret => 'in the sauce' } - @view = ActionView::Base.new(FIXTURE_LOAD_PATHS, @assigns) + @view = ActionView::Base.new([FIXTURE_LOAD_PATH], @assigns) end def test_render_file |