aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/test_unit
Commit message (Collapse)AuthorAgeFilesLines
* require minitest rather than test/unitAaron Patterson2012-01-061-1/+1
|
* Revert the serializers API as other alternatives are now also under discussionJosé Valim2011-11-252-22/+0
|
* Add generators for serializers.José Valim2011-11-252-0/+22
|
* Remove needless to_param in scaffold functional testAlexey Vakhov2011-10-241-4/+4
|
* restores the API docs of AR::Fixtures, made a quick pass over them, revises ↵Xavier Noria2011-09-031-1/+1
| | | | link in fixture template [closes #2840]
* fixtures :all is already included in test_helper.rbSantiago Pastorino2011-06-231-2/+0
|
* Remove trailing white-spacesGuillermo Iguaran2011-06-051-1/+1
|
* for ... in => .eachAkira Matsuda2011-05-183-5/+5
| | | | I believe this is more modern way
* added a note about profiling options to the generatorsGonçalo Silva2011-05-091-1/+4
|
* Stop adding actual dummy tests (they clutter up the real ones in a new app), ↵David Heinemeier Hansson2011-04-236-24/+18
| | | | just show how its done
* Rails will now generate Ruby 1.9 style hash when running scaffold_controller ↵Prem Sichanugrist2011-04-101-5/+5
| | | | | | | | generator on Ruby 1.9.x The new hash syntax of Ruby 1.9 looks more superior, so we decide to switch to it in the places that appropriate. This patch has been requested by DHH.
* revises links to the API websites of individual components (no longer ↵Xavier Noria2011-03-091-1/+1
| | | | maintained), and rewrites the section about after and around filters in the controller guide
* Fix scaffold generator to be aware of namespace in isolated enginePiotr Sarnacki2010-11-031-0/+2
|
* Add namespacing to mailer generatorPiotr Sarnacki2010-09-251-0/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add namespacing for observer generatorPiotr Sarnacki2010-09-251-0/+2
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Add namespace for test_unit generatorsPiotr Sarnacki2010-09-253-0/+6
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Remove the --singeleton option from scaffold generator.Prem Sichanugrist2010-06-242-3/+0
| | | | | | | | It turned out to be that scaffold for singeleton resource will always depend on another model, and it's not possible at the moment to make the application tests pass after generate the singeleton scafold. So, it would be better to remove it for now and probably provide another generator, such as singeleton_scaffold, in which also require the depended model name. [#4863 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* Patch for Namespace problem in Scaffold. [#4763 state:resolved]Mohammed Siddick.E2010-06-232-13/+13
| | | | Signed-off-by: José Valim <jose.valim@gmail.com>
* Make polymorphic_url and scaffolding work with uncountable resources [#3930 ↵Andrew White2010-06-201-1/+1
| | | | | | state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* performance and integration tests inherit from AD, not ACGonçalo Silva2010-05-282-2/+2
| | | | Signed-off-by: wycats <wycats@gmail.com>
* Just assert for 'Hi' in generated mailer tests.José Valim2010-03-261-1/+1
|
* Load generators from both lib/rails/generators and lib/generators. Using the ↵José Valim2010-03-2320-0/+298
| | | | former since it's less obstrusive.
* Generators load path now will be Ruby load path. If you want to use ↵José Valim2010-01-1821-293/+0
| | | | rspec:install generator, you need generators/rspec/install_generator in your load path.
* Autoload AS test caseJoshua Peek2010-01-041-2/+0
|
* MergeDavid Heinemeier Hansson2010-01-031-2/+2
|
* Models with no attributes should just have empty hash fixtures [Sam] (Closes ↵David Heinemeier Hansson2009-12-171-5/+9
| | | | #3563)
* Fix generated performance test helper requiresJeremy Kemper2009-11-101-1/+1
|
* Move railties/lib/* into railties/lib/*Yehuda Katz + Carl Lerche2009-09-2421-0/+291