diff options
author | Michael Koziarski <michael@koziarski.com> | 2007-07-17 09:44:03 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2007-07-17 09:44:03 +0000 |
commit | b549366216f6cb607bf06c19701912a2e0d1f77c (patch) | |
tree | 1500622d360a50c98396347fd4e54db8ebba4d39 /actionpack/test/controller/render_test.rb | |
parent | 872c5f4380ca348ff9ed19963e827289fb831fdf (diff) | |
download | rails-b549366216f6cb607bf06c19701912a2e0d1f77c.tar.gz rails-b549366216f6cb607bf06c19701912a2e0d1f77c.tar.bz2 rails-b549366216f6cb607bf06c19701912a2e0d1f77c.zip |
Introduce fake_models.rb to avoid platform-specific code. [mpalmer] Closes #8714
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7190 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'actionpack/test/controller/render_test.rb')
-rw-r--r-- | actionpack/test/controller/render_test.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/actionpack/test/controller/render_test.rb b/actionpack/test/controller/render_test.rb index 553022e3d9..c856fcf19b 100644 --- a/actionpack/test/controller/render_test.rb +++ b/actionpack/test/controller/render_test.rb @@ -1,8 +1,5 @@ require File.dirname(__FILE__) + '/../abstract_unit' - -unless defined?(Customer) - Customer = Struct.new("Customer", :name) -end +require File.dirname(__FILE__) + '/fake_models' module Fun class GamesController < ActionController::Base |