aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/integration_test_case_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* applies new string literal convention in railties/testXavier 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.
* There are some cases where @@app is not definedSantiago Pastorino2016-07-261-0/+28
|
* Remove unused boot_rails method and it's usagePrathamesh Sonpatki2016-07-041-1/+0
| | | | | - The `boot_rails` method from abstract_unit.rb is empty after 2abcdfd978fdcd491576a237e8c6b. - So let's remove it and its usage.
* Address ruby warningsTeo Ljungberg2016-02-291-1/+1
| | | | | - Ambiguous first argument - Mismatched indentation
* reset `ActionMailer::Base.deliveries` in `ActionDispatch::IntegrationTest`.Yves Senn2016-02-161-0/+46
Whenever you are sending emails in integration tests using the `:test` delivery method you need to make sure that `ActionMailer::Base.deliveries` is reset after every test. This piece of boilerplate code is present in all my applications that send emails. Let's have `ActionDispatch::IntegrationTest` reset the deliveries automatically.