aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails_generator/generators/components/integration_test/templates
diff options
context:
space:
mode:
authorJamis Buck <jamis@37signals.com>2006-03-25 19:57:03 +0000
committerJamis Buck <jamis@37signals.com>2006-03-25 19:57:03 +0000
commit4b66180ccad53940b18ca1a4350159b1fcf2695c (patch)
treee3b52b9b0a900715782e715f3665213bc6b78b28 /railties/lib/rails_generator/generators/components/integration_test/templates
parent932622294194888cf7f9c5a10c082b75f0b7ab8d (diff)
downloadrails-4b66180ccad53940b18ca1a4350159b1fcf2695c.tar.gz
rails-4b66180ccad53940b18ca1a4350159b1fcf2695c.tar.bz2
rails-4b66180ccad53940b18ca1a4350159b1fcf2695c.zip
Add an integration test generator
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4027 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/rails_generator/generators/components/integration_test/templates')
-rw-r--r--railties/lib/rails_generator/generators/components/integration_test/templates/integration_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/railties/lib/rails_generator/generators/components/integration_test/templates/integration_test.rb b/railties/lib/rails_generator/generators/components/integration_test/templates/integration_test.rb
new file mode 100644
index 0000000000..5f9bd829e0
--- /dev/null
+++ b/railties/lib/rails_generator/generators/components/integration_test/templates/integration_test.rb
@@ -0,0 +1,4 @@
+require "#{File.dirname(__FILE__)}<%= '/..' * class_nesting_depth %>/../test_helper"
+
+class <%= class_name %>Test < ActionController::IntegrationTest
+end