diff options
author | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-06-17 16:14:05 -0700 |
---|---|---|
committer | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-06-17 16:14:05 -0700 |
commit | 8fdf3d7890d2e58508e028c93d3797f21a774dbc (patch) | |
tree | 4eff185e19bd63161ad15fb47120f53e93debcf5 /actionpack/test | |
parent | 251a6e492c72d8aea713b7dabd245d68301e455d (diff) | |
download | rails-8fdf3d7890d2e58508e028c93d3797f21a774dbc.tar.gz rails-8fdf3d7890d2e58508e028c93d3797f21a774dbc.tar.bz2 rails-8fdf3d7890d2e58508e028c93d3797f21a774dbc.zip |
Remove some defined?(Http) checks
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/abstract_unit.rb | 1 | ||||
-rw-r--r-- | actionpack/test/lib/controller/fake_models.rb | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/actionpack/test/abstract_unit.rb b/actionpack/test/abstract_unit.rb index 1333a9d71a..30e795a7a2 100644 --- a/actionpack/test/abstract_unit.rb +++ b/actionpack/test/abstract_unit.rb @@ -1,5 +1,6 @@ $:.unshift(File.dirname(__FILE__) + '/../lib') $:.unshift(File.dirname(__FILE__) + '/../../activesupport/lib') +$:.unshift(File.dirname(__FILE__) + '/../../activemodel/lib') $:.unshift(File.dirname(__FILE__) + '/lib') $:.unshift(File.dirname(__FILE__) + '/fixtures/helpers') diff --git a/actionpack/test/lib/controller/fake_models.rb b/actionpack/test/lib/controller/fake_models.rb index 5e63204bad..9e6f14d373 100644 --- a/actionpack/test/lib/controller/fake_models.rb +++ b/actionpack/test/lib/controller/fake_models.rb @@ -1,3 +1,5 @@ +require "active_model" + class Customer < Struct.new(:name, :id) extend ActiveModel::Naming |