1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
Commit graph

21 commits

Author SHA1 Message Date
Pratik Naik
d22fe41cf8 Fix a typo in test helper 2008-11-18 08:40:38 +05:30
Pratik Naik
3319fa6965 Dont require 'application' when running tests 2008-11-18 08:38:01 +05:30
Jeremy Kemper
5a4789e86a Explicitly require test/unit so tests autorun 2008-11-17 15:18:01 -08:00
Jeremy Kemper
b17eb65d00 Move fixtures settings from AR::TestCase to railties test_help 2008-11-12 11:33:09 -08:00
Jeremy Kemper
582aa2ead5 Set up fixtures in app's test_help 2008-11-07 16:23:22 -05:00
Jeremy Kemper
579086047e Remove superfluous test_process require 2008-06-12 18:19:40 -07:00
David Heinemeier Hansson
4ad3721a17 Re-enable the debugger in testing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8613 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2008-01-09 18:50:06 +00:00
Rick Olson
49cb41270a Only load ActionMailer::TestCase if ActionMailer is loaded. Closes #10137 [defunkt]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8127 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-11-11 01:01:11 +00:00
Michael Koziarski
985ee85f59 Remove broken require
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8023 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-10-26 02:58:24 +00:00
Michael Koziarski
2cc0cac3ef Introduce TestCase subclasses for testing rails applications allowing tests to be DRY'd up a bit and to provide a path toward tidying up our monkeypatching of test/unit.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8022 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-10-26 02:21:21 +00:00
Michael Koziarski
2fc4be68a6 Remove duplication in test_help.rb Closes #3328 [jarkko]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7395 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-09-02 23:50:51 +00:00
David Heinemeier Hansson
70ac560e42 Removed breakpointer and Binding.of_caller in favor of relying on ruby-debug by Kent Sibilev since the breakpointer has been broken since Ruby 1.8.4 and will not be coming back [DHH]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6611 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-04-28 15:57:29 +00:00
David Heinemeier Hansson
3022a44bce Don't require AWS test_invoke in railties test helper [blaine]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6575 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2007-04-24 22:19:31 +00:00
Michael Koziarski
02dfb239fa merge 5639 to trunk
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5640 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-11-27 05:19:15 +00:00
Jamis Buck
e9b0284070 be sure to require_dependency on 'application', so that dependency loading is honored correctly
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4731 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-08-08 22:29:57 +00:00
Jamis Buck
36ea93e4b9 rename 'integration_test.rb' -> 'integration.rb'
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3923 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-03-18 14:27:36 +00:00
Jamis Buck
1a91abe645 Add integration test support to app generation and testing
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3702 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2006-02-28 18:57:32 +00:00
David Heinemeier Hansson
5c48a89a7f Force RAILS_ENV to be "test" when running tests, so that ENV["RAILS_ENV"] = "production" in config/environment.rb doesnt wreck havok [DHH] (closes #2660)
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2955 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-11-09 15:11:55 +00:00
Scott Barron
ccd18dc650 Should be RAILS_ROOT/test/fixtures.
Closes #2476


git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2616 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 17:05:55 +00:00
David Heinemeier Hansson
0930256b45 Fixed the overeager test running
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2609 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 13:18:17 +00:00
David Heinemeier Hansson
e3bb9e7a9c Cleaned up test_helper
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2606 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2005-10-15 03:02:28 +00:00