aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/new_base/test_helper.rb
diff options
context:
space:
mode:
authorYehuda Katz and Carl Lerche <wycats@gmail.com>2009-04-07 15:54:02 -0700
committerYehuda Katz and Carl Lerche <wycats@gmail.com>2009-04-07 15:54:02 -0700
commit95c9718118bc0342ddb320f23b5e0a17fb12b7ad (patch)
tree131f46b4a147a492def006c6190c58a7e0abd057 /actionpack/test/new_base/test_helper.rb
parentc1aa5b0e14cd4bd27a5d8bd85cf7c36fa5911830 (diff)
downloadrails-95c9718118bc0342ddb320f23b5e0a17fb12b7ad.tar.gz
rails-95c9718118bc0342ddb320f23b5e0a17fb12b7ad.tar.bz2
rails-95c9718118bc0342ddb320f23b5e0a17fb12b7ad.zip
Layouts work in AbstractController. Add support for the rspec runner for T::U
Diffstat (limited to 'actionpack/test/new_base/test_helper.rb')
-rw-r--r--actionpack/test/new_base/test_helper.rb19
1 files changed, 1 insertions, 18 deletions
diff --git a/actionpack/test/new_base/test_helper.rb b/actionpack/test/new_base/test_helper.rb
index 9058060059..5edd7b4f63 100644
--- a/actionpack/test/new_base/test_helper.rb
+++ b/actionpack/test/new_base/test_helper.rb
@@ -70,24 +70,7 @@ class Rack::TestCase < ActiveSupport::TestCase
ActionController::Routing.use_controllers!(controllers)
end
-
- unless method_defined?(:describe)
- def self.describe(text)
- class_eval <<-RUBY_EVAL
- def self.name
- "#{text}"
- end
- RUBY_EVAL
- end
- end
-
- if defined?(Spec)
- class << self
- undef test
- alias_method :test, :it
- end
- end
-
+
def app
@app ||= ActionController::Dispatcher.new
end