From a6e12c0c21159503cef99fa69be7a708a2d39ed9 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Sun, 14 Jan 2007 12:49:55 +0000 Subject: Wrap and skip tests using mocha. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5926 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionpack/test/controller/integration_test.rb | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'actionpack/test/controller/integration_test.rb') diff --git a/actionpack/test/controller/integration_test.rb b/actionpack/test/controller/integration_test.rb index 665c5901e5..a26b6eb259 100644 --- a/actionpack/test/controller/integration_test.rb +++ b/actionpack/test/controller/integration_test.rb @@ -3,9 +3,7 @@ require File.dirname(__FILE__) + '/../abstract_unit' $:.unshift File.dirname(__FILE__) + '/../../../railties/lib' require 'action_controller/integration' -begin # rescue LoadError -require 'mocha' -require 'stubba' +uses_mocha 'integration' do # Stub process for testing. module ActionController @@ -149,6 +147,4 @@ end # class MockCGITest < Test::Unit::TestCase # end -rescue LoadError - $stderr.puts "Skipping integration tests. `gem install mocha` and try again." -end +end # uses_mocha -- cgit v1.2.3