aboutsummaryrefslogtreecommitdiffstats
path: root/actionmailer/test/url_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Do not generate default alt text in image tagsCameron Cundiff2017-08-171-1/+1
| | | | | | | | | | | | | | | | | | | | | - Auto-generating content from the filename of an image is not suitable alternative text; alt text that isn't fully considered can be distracting and fatiguing for screen readers users (blind, low vision, dyslexic people). - Setting a filename fallback short circuits screen reader default behavior and configuration for blank descriptions. - Setting poor defaults also creates false negatives for accessibility linting and testing software, that makes it harder to improve application accessibility. *** - After this change, if authors leave images without alt text, screen readers will fallback to default behavior for missing alt text. - Also with this change, Automated linting and testing tools will correctly generate warnings. [Fixes #30096]
* Use frozen string literal in actionmailer/Kir Shatrov2017-07-231-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
|
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-4/+4
|
* Add three new rubocop rulesRafael Mendonça França2016-08-161-1/+1
| | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository.
* applies new string literal convention in actionmailer/testXavier Noria2016-08-061-23/+23
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Suppress warningsyui-knk2016-03-311-5/+9
| | | | | "Using a dynamic :controller (or :action) segment in a route is deprecated" by 6520ea5f7e2215a763ca74bf6cfa87be2347d5df (#23980).
* let the AM test suite pass in 1.9Xavier Noria2014-11-241-2/+2
|
* let mailer templates generate URLs by default [Xavier Noria, Richard Schneeman]Xavier Noria2014-11-241-0/+60
|
* fix tests on action_mailerschneems2014-10-071-2/+2
| | | Include appropriate helpers and use `assert_dom_equal` where applicable
* Deprecated .deliver / .deliver! to .deliver_now / .deliver_now!Cristian Bica2014-08-201-1/+1
|
* Refactored to remove unnecessary setupAnupam Choudhury2013-03-301-9/+0
|
* Update actionmailer with new hash syntax.Kirill Nikitin2012-10-071-4/+4
|
* Clean up some straggling build failuresJose and Yehuda2012-04-241-2/+2
|
* Fix action mailer tests after old mapper removalPiotr Sarnacki2010-09-051-5/+3
|
* Deprecate the old mailer API that was not deprecated yet.José Valim2010-08-291-0/+89
|
* Move old tests to a specific folder and add some delivery method tests.José Valim and Mikel Lindsaar2010-01-241-84/+0
|
* Add new class delivery method API.José Valim and Mikel Lindsaar2010-01-241-2/+2
|
* Delegated ActionMailer::Base.deliveries to Mail.deliveries, added callback ↵José Valim and Mikel Lindsaar2010-01-241-1/+1
| | | | support in Mail to call ActionMailer on delivery, moved deliver to deprecated API in preparation for new API
* Merge Mail with latest Rails and move mail gem to Gemfile.José Valim2009-12-271-2/+2
|\
| * Make ActionMailer::Base inherit from AbstractController::BaseJosé Valim2009-12-221-2/+2
| | | | | | | | Signed-off-by: Yehuda Katz <wycats@Yehuda-Katz.local>
* | Fixes for working with 1.9.1-headMikel Lindsaar2009-12-171-1/+7
| |
* | Merge branch 'rails'Mikel Lindsaar2009-12-171-22/+22
|\| | | | | | | | | | | Conflicts: actionmailer/lib/action_mailer.rb actionmailer/lib/action_mailer/delivery_method/smtp.rb
| * Define a welcome controller in mailer testsJoshua Peek2009-11-291-22/+22
| |
* | More updates... 45 errors left to get it working with Mail gemMikel Lindsaar2009-11-201-1/+1
| |
* | Starting again on actionmailer integration with mailMikel Lindsaar2009-11-121-1/+1
|/
* Need to use "use_controllers" for nonexistent controller in AM testJoshua Peek2009-10-181-21/+23
|
* require abstract_unit directly since test is in load pathJeremy Kemper2008-01-051-2/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8565 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Allow ActionMailer subclasses to individually set their delivery method (so ↵David Heinemeier Hansson2007-11-071-1/+5
| | | | | | two subclasses can have different delivery methods) (closes #10033) [zdennis] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8111 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Test which fails without [8052] [Koz]Michael Koziarski2007-10-291-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8053 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Disable the routing optimisation code when dealing with foo_url helpers. ↵Michael Koziarski2007-09-221-1/+5
| | | | | | Add test to actionmailer to expose the problem they introduced. References #9450 [Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7572 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Make mime version default to 1.0. closes #2323Jamis Buck2006-09-091-22/+2
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5081 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Automatically included ActionController::UrlWriter, such that URL generation ↵David Heinemeier Hansson2006-08-251-0/+88
can happen within ActionMailer controllers. [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4818 5ecf4fe2-1ee6-0310-87b1-e25e094e27de