aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/mailer_generator_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Railities typo fixes.alkesh262019-02-011-1/+1
|
* Adding frozen_string_literal pragma to Railties.Pat Allan2017-08-141-0/+2
|
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
|
* Should escape meta characters in regexpRyuta Kamizono2017-05-071-6/+6
|
* Add three new rubocop rulesRafael Mendonça França2016-08-161-3/+3
| | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository.
* applies new string literal convention in railties/testXavier Noria2016-08-061-3/+3
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* generate mailer layout files if it does not already existyuuji.yaginuma2016-05-151-0/+8
| | | | | | | | | Currently, if `ApplicationMailer` does not exist, it is generated when run the mailer generator, but layouts files does not generate. However, because it uses the layouts in `ApplicationMailer`, layouts are required. Follow up to #24161
* Fix generator test to match to use the stringRafael Mendonça França2016-03-211-1/+1
|
* generate application_mailer.rb if it is missingSen-Zhang2016-03-111-0/+6
|
* ApplicationMailer should be generated by default just like every other ↵David Heinemeier Hansson2015-12-171-23/+0
| | | | Application* parent
* 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
|