aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/mailer_generator_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* add mailer suffix to comments for email previewsyuuji.yaginuma2015-03-151-5/+5
|
* Merge pull request #18393 from y-yagi/fix_mailerRafael Mendonça França2015-02-181-11/+20
|\ | | | | follow up to #18074
| * follow up to #18074yuuji.yaginuma2015-01-081-11/+20
| | | | | | | | | | * ignore mailer suffix when generate test files * add mailer suffix to view files
* | Add _mailer suffix to i18n pathCarlos Souza2015-01-081-3/+3
|/ | | | | | For mailers created via generators Follow up to #18074
* Add mailer suffix to generated files and classesCarlos Souza2015-01-061-23/+30
| | | | | Following the same naming convention used in controllers and jobs.
* Don't remove mailer layouts filesyuuji.yaginuma2014-11-271-0/+15
|
* Generate mailer layouts even if no action is given.Guo Xiang Tan2014-11-251-0/+2
|
* Add tests which were incorrectly removed.Guo Xiang Tan2014-11-251-0/+4
|
* Creates an ApplicationMailer and layout by default, including html and body ↵Andy Jeffries2014-11-211-6/+20
| | | | tags to reduce spam score
* fix path shown in mailer's templatesKassio Borges2014-02-141-4/+4
|
* Add comments with urls for email previewsAndrew White2013-12-221-6/+11
|
* `html` and `text` templates for mailers by defaultKassio Borges2013-12-201-1/+15
|
* Add mailer previews feature based on mail_view gemAndrew White2013-12-171-3/+33
|
* 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)
* Get rid of more 1.8.x dead codeJosé Valim2011-12-201-5/+1
|
* Get rid of --old-style-hashJosé Valim2011-12-201-21/+2
|
* be sure to parenthesize the arguments when the first one is a RegExp literalAkira Matsuda2011-05-181-24/+24
| | | | | | 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
* Update Mailer generator to use 1.9 styled hash when run on Ruby 1.9Prem Sichanugrist2011-05-131-3/+25
| | | | As always, you can run `--old-style-hash` to override that.
* adding test for namedspaced mailersAditya Sanghi2010-10-061-0/+9
|
* Tidy up generators based on latest change on AM.José Valim2010-06-131-2/+2
|
* Reorganize the mailer generator a bit.José Valim2010-04-301-1/+1
|
* Move ActionMailer generator to AMCarlhuda2010-04-291-1/+2
|
* Load generators from both lib/rails/generators and lib/generators. Using the ↵José Valim2010-03-231-1/+1
| | | | former since it's less obstrusive.
* Killing fixtures in mailer before they kill me (they usually lead to very ↵José Valim2010-03-221-3/+5
| | | | brittle tests).
* Also revert mailer generator test changes in 8b50f89Jeremy Kemper2010-03-211-2/+2
|
* Make ERB generators more flexible and customizable.José Valim2010-03-211-4/+4
|
* Rename 'defaults' class method to 'default' to reflect that it's a declarationJeremy Kemper2010-01-271-1/+1
|
* Attend to brittle mailer generator testsJeremy Kemper2010-01-271-3/+3
|
* Update generators to use new defaults.José Valim and Mikel Lindsaar2010-01-261-1/+1
|
* Updating generators for mailer to reflect changes in APIMikel Lindsaar2010-01-261-3/+3
|
* More work on generated mailer templates.José Valim and Mikel Lindsaar2010-01-261-6/+5
|
* Change mailer generator templates and refactor the whole naming schema.José Valim and Mikel Lindsaar2010-01-251-5/+35
|
* `script/generate mailer Notifier` will now create a mailer at app/mailers.José Valim2010-01-191-4/+4
|
* 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-2/+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-3/+3
|
* Added Controller Generators.José Valim2009-06-261-2/+2
|
* More tests for mailer.José Valim2009-06-251-1/+7
|
* Mailer tests.José Valim2009-06-251-0/+48