diff options
author | Joshua Peek <josh@joshpeek.com> | 2008-07-12 14:11:51 -0500 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2008-07-12 14:11:51 -0500 |
commit | 30204c4e66cea989c4ee48b52c8827c79e98f14a (patch) | |
tree | 67732754c6a7deb6d2efbcaae0a9b3ba60ff8920 /actionpack/test/activerecord | |
parent | 65fb2e76f2c4571b04458c7bf6a0c815972232ab (diff) | |
download | rails-30204c4e66cea989c4ee48b52c8827c79e98f14a.tar.gz rails-30204c4e66cea989c4ee48b52c8827c79e98f14a.tar.bz2 rails-30204c4e66cea989c4ee48b52c8827c79e98f14a.zip |
Set global ActionController::Base.view_paths for test cases
Diffstat (limited to 'actionpack/test/activerecord')
-rw-r--r-- | actionpack/test/activerecord/render_partial_with_record_identification_test.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/actionpack/test/activerecord/render_partial_with_record_identification_test.rb b/actionpack/test/activerecord/render_partial_with_record_identification_test.rb index a9d3ff040f..a82a1a3023 100644 --- a/actionpack/test/activerecord/render_partial_with_record_identification_test.rb +++ b/actionpack/test/activerecord/render_partial_with_record_identification_test.rb @@ -41,8 +41,6 @@ class RenderPartialWithRecordIdentificationController < ActionController::Base end end -RenderPartialWithRecordIdentificationController.view_paths = [FIXTURE_LOAD_PATH] - class RenderPartialWithRecordIdentificationTest < ActiveRecordTestCase fixtures :developers, :projects, :developers_projects, :topics, :replies, :companies, :mascots @@ -123,8 +121,6 @@ class RenderPartialWithRecordIdentificationController < ActionController::Base end end -RenderPartialWithRecordIdentificationController.view_paths = [FIXTURE_LOAD_PATH] - class Game < Struct.new(:name, :id) def to_param id.to_s @@ -142,8 +138,6 @@ module Fun end end - NestedController.view_paths = [FIXTURE_LOAD_PATH] - module Serious class NestedDeeperController < ActionController::Base def render_with_record_in_deeper_nested_controller @@ -154,8 +148,6 @@ module Fun render :partial => [ Game.new("Chess"), Game.new("Sudoku"), Game.new("Solitaire") ] end end - - NestedDeeperController.view_paths = [FIXTURE_LOAD_PATH] end end |