aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/test_unit/mailer
Commit message (Collapse)AuthorAgeFilesLines
* Strip duplicated suffixes more strictlyRyuta Kamizono2018-04-221-1/+1
| | | | In the previous code incorrectly removes intermediate words.
* Use .tt extension to all the template filesRafael Mendonça França2017-11-132-0/+0
| | | | | | | | Make clear that the files are not to be run for interpreters. Fixes #23847. Fixes #30690. Closes #23878.
* [Railties] require_relative => requireAkira Matsuda2017-10-211-1/+1
| | | | This basically reverts 618268b4b9382f4bcf004a945fe2d85c0bd03e32
* Remove frozen_string_literal magic comment from templatesyuuji.yaginuma2017-09-172-4/+0
| | | | Follow up of #30348
* Adding frozen_string_literal pragma to Railties.Pat Allan2017-08-143-0/+6
|
* [Railties] require => require_relativeAkira Matsuda2017-07-011-1/+1
|
* Privatize unneededly protected methods in RailtiesAkira Matsuda2016-12-251-1/+1
|
* applies new string literal convention in railties/libXavier Noria2016-08-061-4/+4
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Remove redundant regexp escapes in generatorsGadzhi Gadzhiev2016-03-081-1/+1
|
* add mailer suffix to comments for email previewsyuuji.yaginuma2015-03-151-2/+2
|
* follow up to #18074yuuji.yaginuma2015-01-082-1/+6
| | | | | * ignore mailer suffix when generate test files * add mailer suffix to view files
* Add mailer suffix to generated files and classesCarlos Souza2015-01-063-6/+6
| | | | | Following the same naming convention used in controllers and jobs.
* Add comments with urls for email previewsAndrew White2013-12-221-0/+2
|
* Add mailer previews feature based on mail_view gemAndrew White2013-12-172-1/+19
|
* Revert "Rename not Ruby files to .tt"Santiago Pastorino2013-12-101-0/+0
| | | | | | This reverts commit bd360ad3c1d59273bf96ea01b17cf04285816dc2. Reverting this for now until we fix the Thor related issue
* Rename not Ruby files to .ttSantiago Pastorino2013-12-101-0/+0
|
* Use Ruby 1.9 Hash syntax in railtiesRobin Dupret2012-10-141-2/+2
|
* Merge branch 'master' of github.com:lifo/docrailsVijay Dev2012-10-111-3/+3
|\ | | | | | | | | | | Conflicts: activerecord/lib/active_record/persistence.rb railties/lib/rails/generators/rails/resource_route/resource_route_generator.rb
| * nodoc TestUnit::Generators [ci skip]Francesco Rodriguez2012-10-071-3/+3
| |
* | 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)
* for ... in => .eachAkira Matsuda2011-05-181-1/+1
| | | | I believe this is more modern way
* Stop adding actual dummy tests (they clutter up the real ones in a new app), ↵David Heinemeier Hansson2011-04-231-4/+3
| | | | just show how its done
* Add namespacing to mailer generatorPiotr Sarnacki2010-09-251-0/+2
| | | | Signed-off-by: José Valim <jose.valim@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-232-0/+34
| | | | former since it's less obstrusive.
* Generators load path now will be Ruby load path. If you want to use ↵José Valim2010-01-183-44/+0
| | | | rspec:install generator, you need generators/rspec/install_generator in your load path.
* Move railties/lib/* into railties/lib/*Yehuda Katz + Carl Lerche2009-09-243-0/+44