aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/helper_generator_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Bring back the helpers testsJosé Valim2014-08-051-0/+39
| | | | | Also keep the hook as other tools may rely on it, we just don't do anything by default on Rails.
* Generating stubs for helper tests is overly specific. Most helpers should ↵David Heinemeier Hansson2014-08-031-54/+0
| | | | simply be tested as part of the view thats using them. If you need something beyond that, you can add a test yourself for them
* Update test locationsMike Moore2012-10-091-1/+1
| | | | | | | | | | | | | | Change the default test locations to avoid confusion around the common testing terms "unit" and "functional". Add new rake tasks for the new locations, while maintaining backwards compatibility with the old rake tasks. New testing locations are as follows: app/models -> test/models (was test/units) app/helpers -> test/helpers (was test/units/helpers) app/controllers -> test/controllers (was test/functional) app/mailers -> test/mailers (was test/functional)
* be sure to parenthesize the arguments when the first one is a RegExp literalAkira Matsuda2011-05-181-3/+3
| | | | | | this fixes: "warning: ambiguous first argument; put parentheses or even spaces" because: you need this to tell the parser that you're not calling :/ method (division) details (Japanese!): http://blade.nagaokaut.ac.jp/cgi-bin/vframe.rb/ruby/ruby-dev/42445?42370-43277
* Load generators from both lib/rails/generators and lib/generators. Using the ↵José Valim2010-03-231-1/+1
| | | | former since it's less obstrusive.
* Get generators tests running on Ruby 1.9.1José Valim2010-01-191-1/+2
|
* Generators load path now will be Ruby load path. If you want to use ↵José Valim2010-01-181-1/+1
| | | | rspec:install generator, you need generators/rspec/install_generator in your load path.
* Move all generators tests to use new test case syntax.José Valim2010-01-031-8/+1
|
* CI breakageYehuda Katz2009-11-021-1/+1
| | | | This reverts commit a288b74f1c75c6f100de7611a5093a421f1ad6d1.
* Generators should use Rails.root instead of Dir.pwd [#3408 status:resolved]José Valim2009-10-281-1/+1
| | | | Signed-off-by: Yehuda Katz <wycats@gmail.com>
* Move railties/lib/* into railties/lib/*Yehuda Katz + Carl Lerche2009-09-241-1/+1
|
* Updated vendored Thor to 0.11.1 and update Rails::Generators.José Valim2009-07-141-1/+1
|
* Add the new generators environment and update commands.José Valim2009-07-081-2/+2
|
* Added lookup to generators.José Valim2009-07-031-1/+0
|
* Add a fixture replacement hook to TestUnit model generator.José Valim2009-06-271-1/+1
|
* Initial scratch of model generators.José Valim2009-06-271-0/+19
|
* Clean up class collisions check and a class method helper.José Valim2009-06-261-0/+6
|
* Class collision checks.José Valim2009-06-261-1/+1
|
* Added HelperGenerator.José Valim2009-06-261-0/+36