Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add three new rubocop rules | Rafael Mendonça França | 2016-08-16 | 1 | -1/+1 |
| | | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository. | ||||
* | applies new string literal convention in railties/test | Xavier Noria | 2016-08-06 | 1 | -2/+2 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Bring back the helpers tests | José Valim | 2014-08-05 | 1 | -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 Hansson | 2014-08-03 | 1 | -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 locations | Mike Moore | 2012-10-09 | 1 | -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 literal | Akira Matsuda | 2011-05-18 | 1 | -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é Valim | 2010-03-23 | 1 | -1/+1 |
| | | | | former since it's less obstrusive. | ||||
* | Get generators tests running on Ruby 1.9.1 | José Valim | 2010-01-19 | 1 | -1/+2 |
| | |||||
* | Generators load path now will be Ruby load path. If you want to use ↵ | José Valim | 2010-01-18 | 1 | -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é Valim | 2010-01-03 | 1 | -8/+1 |
| | |||||
* | CI breakage | Yehuda Katz | 2009-11-02 | 1 | -1/+1 |
| | | | | This reverts commit a288b74f1c75c6f100de7611a5093a421f1ad6d1. | ||||
* | Generators should use Rails.root instead of Dir.pwd [#3408 status:resolved] | José Valim | 2009-10-28 | 1 | -1/+1 |
| | | | | Signed-off-by: Yehuda Katz <wycats@gmail.com> | ||||
* | Move railties/lib/* into railties/lib/* | Yehuda Katz + Carl Lerche | 2009-09-24 | 1 | -1/+1 |
| | |||||
* | Updated vendored Thor to 0.11.1 and update Rails::Generators. | José Valim | 2009-07-14 | 1 | -1/+1 |
| | |||||
* | Add the new generators environment and update commands. | José Valim | 2009-07-08 | 1 | -2/+2 |
| | |||||
* | Added lookup to generators. | José Valim | 2009-07-03 | 1 | -1/+0 |
| | |||||
* | Add a fixture replacement hook to TestUnit model generator. | José Valim | 2009-06-27 | 1 | -1/+1 |
| | |||||
* | Initial scratch of model generators. | José Valim | 2009-06-27 | 1 | -0/+19 |
| | |||||
* | Clean up class collisions check and a class method helper. | José Valim | 2009-06-26 | 1 | -0/+6 |
| | |||||
* | Class collision checks. | José Valim | 2009-06-26 | 1 | -1/+1 |
| | |||||
* | Added HelperGenerator. | José Valim | 2009-06-26 | 1 | -0/+36 |