Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix reference to undefined variable in email testing guide [ci skip] | Konstantinos Rousis | 2015-08-28 | 1 | -2/+5 |
| | |||||
* | A quick pass over the testing guide | Robin Dupret | 2015-08-25 | 1 | -6/+11 |
| | | | | | | | | | * Fixtures are loaded for all the tests by default (not only model and controller tests). * Fix a few typos and improve the markup at some levels. * Wrap changes to 80 chars [ci skip] | ||||
* | reorganize testing guide. [Zachary Scott & Yves Senn] | Zachary Scott | 2015-08-17 | 1 | -329/+305 |
| | | | | | | | | | | | | [ci skip] Better reading flow for the information presented in this guide. The first part is written in a similar fashion as the "Getting Started Guide" and can be read from start to finish. The second section introduces the different testing components that Rails provides and explains how and when to use them. The guide is still work in progress. | ||||
* | Tiny documentation fixes [ci skip] | Robin Dupret | 2015-08-16 | 1 | -2/+2 |
| | | | | | | * Add missing `def` and remove useless `do` keywords. * Move `:nodoc:` in front of the methods' definition so that methods under these ones are correctly visible on the API. | ||||
* | Small fixes [ci skip] | Alexey Markov | 2015-08-15 | 1 | -10/+10 |
| | |||||
* | Fix minor typo in testing guide | Dave Powers | 2015-07-20 | 1 | -1/+1 |
| | | | [ci skip] | ||||
* | [ci skip] add note for individual stub creation | Aditya Kapoor | 2015-07-15 | 1 | -0/+16 |
| | |||||
* | Add fixture use case to testing.md. | Staphany Park | 2015-06-13 | 1 | -0/+7 |
| | | | | | I think people would find it useful to know that you can pass in multiple fixture names to get an array of all the fixtures. I've found this useful in my own app. It looks like there already a test case that supports this feature (https://github.com/rails/rails/blob/master/activerecord/test/cases/fixtures_test.rb#L398), but it's just not documented here. I look forward to your feedback! | ||||
* | Remove `assigns` and `assert_template`. | Guo Xiang Tan | 2015-05-30 | 1 | -58/+12 |
| | |||||
* | [ci skip] Fix block parameter of assert_no_difference | Hiromichi Yamada | 2015-05-28 | 1 | -1/+1 |
| | |||||
* | Make link to configuring guide relative [ci skip] | Eliot Sykes | 2015-05-22 | 1 | -1/+1 |
| | |||||
* | Fix broken link for minitest. [ci skip] | Arun Agrawal | 2015-05-20 | 1 | -1/+1 |
| | | | For more details see #20222 | ||||
* | [ci skip] update ruby doc links; for rails next version ruby 2.2+ will be ↵ | Gaurav Sharma | 2015-05-20 | 1 | -1/+1 |
| | | | | supported only | ||||
* | Clarify view tests [ci skip] | Benjamin Klotz | 2015-05-14 | 1 | -1/+1 |
| | | | | Mention that view tests are made in controller tests. | ||||
* | [ci skip] Fix purpose of `assert_kind_of` | yui-knk | 2015-05-10 | 1 | -1/+1 |
| | |||||
* | guides, bring back minitest assertion table. [ci skip] | Yves Senn | 2015-04-28 | 1 | -3/+43 |
| | | | | | | | | | Rails has different naming conventions for the inverse assertion methods. While minitest uses `refute` we use `_not`. We should have a table listing the common assertions that you want to use in the Rails context. Refs #18305. | ||||
* | No need to mention unit tests in testing guide anymore | Kir Shatrov | 2015-03-31 | 1 | -2/+0 |
| | |||||
* | New test runner syntax in testing guide | Kir Shatrov | 2015-03-31 | 1 | -4/+4 |
| | |||||
* | Suggest new hash syntax in testing guide | Kir Shatrov | 2015-03-31 | 1 | -2/+2 |
| | |||||
* | Don't suggest `bin/rails test controllers` | Kir Shatrov | 2015-03-31 | 1 | -1/+0 |
| | |||||
* | Add missing "of" to testing guide. | Hendy Tanata | 2015-03-30 | 1 | -1/+1 |
| | |||||
* | Merge branch 'kirs' | Matthew Draper | 2015-03-30 | 1 | -30/+23 |
|\ | |||||
| * | Switch to `bin/rails test` in testing guide | Kir Shatrov | 2015-03-30 | 1 | -30/+23 |
| | | | | | | rails/rails#18305 | ||||
* | | Merge branch 'master' of github.com:rails/docrails | Vijay Dev | 2015-03-26 | 1 | -2/+2 |
|\ \ | | | | | | | | | | | | | Conflicts: guides/source/4_0_release_notes.md | ||||
| * | | [ci skip] Capitalize title | yui-knk | 2015-03-22 | 1 | -1/+1 |
| |/ | |||||
| * | Better title in Testing Guide | Kir Shatrov | 2015-03-22 | 1 | -1/+1 |
| | | | | | | | | suggested by @senny https://github.com/rails/rails/pull/18305#issuecomment-73847595 | ||||
* | | [skip ci] Minor edits for clarity, to make smooth, & separate clauses. | Kyle Oba | 2015-03-25 | 1 | -2/+2 |
| | | | | | | | | | | | | * Add conjunction for clarity. * Add comma between independent clauses: create command, and generation of fixtures. | ||||
* | | Change 'girlfriend' to 'partner' | Sean Collins | 2015-03-20 | 1 | -1/+1 |
| | | |||||
* | | Merge pull request #19322 from ↵ | Rafael Mendonça França | 2015-03-13 | 1 | -1/+1 |
|\ \ | | | | | | | | | | | | | AndrewHendrie/AndrewHendrie-guides-testing-partials-patch Asserting partials modification | ||||
| * | | Asserting partials modification | Andrew Hendrie | 2015-03-13 | 1 | -1/+1 |
| | | | | | | | | | Changed "create Articles view" to "new article view". The create action doesn't typically have a view assigned to it. The view that's being referred to is the 'new' Article view. | ||||
* | | | Fix typo in the “Testing Your Mailers” docs | Marius Butuc | 2015-03-12 | 1 | -1/+1 |
|/ / | | | | | * [ci skip] | ||||
* / | Changed 'blank space' to 'blank line' | Andrew Hendrie | 2015-03-09 | 1 | -1/+1 |
|/ | | | Line 85 stated that fixtures are typically separated by a blank space. I changed the wording to blank line because blank space could be misinterpreted as a non-breaking space character when in reality, each fixture record (in YAML) is separated by a blank line. | ||||
* | add `ActiveJob::TestCase` to list of classes providing for test [ci skip] | yuuji.yaginuma | 2015-02-28 | 1 | -0/+1 |
| | |||||
* | Tiny documentation edits [ci skip] | Robin Dupret | 2015-02-15 | 1 | -1/+2 |
| | |||||
* | guides, various testing guide changes. [ci skip] | Yves Senn | 2015-02-11 | 1 | -7/+15 |
| | | | | /cc @zzak | ||||
* | Migrating xhr methods to keyword arguments syntax | Kir Shatrov | 2015-02-01 | 1 | -2/+2 |
| | | | | | | | | | | | | in `ActionController::TestCase` and `ActionDispatch::Integration` Old syntax: `xhr :get, :create, params: { id: 1 }` New syntax example: `get :create, params: { id: 1 }, xhr: true` | ||||
* | Consistent usage of spaces in hashes across our codebase | Rafael Mendonça França | 2015-01-29 | 1 | -8/+8 |
| | |||||
* | Use fixed fonts only in the name of the parameter | Rafael Mendonça França | 2015-01-29 | 1 | -3/+3 |
| | |||||
* | Switch to kwargs in ActionController::TestCase and ActionDispatch::Integration | Kir Shatrov | 2015-01-29 | 1 | -18/+27 |
| | | | | | | | | Non-kwargs requests are deprecated now. Guides are updated as well. `post url, nil, nil, { a: 'b' }` doesn't make sense. `post url, params: { y: x }, session: { a: 'b' }` would be an explicit way to do the same | ||||
* | Fix test case class in the testing guide [ci skip] | Rafael Mendonça França | 2015-01-21 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of github.com:rails/docrails | Vijay Dev | 2015-01-15 | 1 | -7/+54 |
|\ | |||||
| * | Better example of `teardown` method in test guide | Kir Shatrov | 2015-01-03 | 1 | -4/+2 |
| | | | | | | rails/rails#18305, thanks for @dhh suggestion | ||||
| * | Demonstrate example of `assert_emails` in testing guide | Kir Shatrov | 2015-01-03 | 1 | -3/+4 |
| | | | | | | rails/rails#18305, thanks for @dhh suggestion | ||||
| * | Docs for controller test helpers | Kir Shatrov | 2015-01-03 | 1 | -0/+35 |
| | | | | | | | | rails/rails#18305 | ||||
| * | Avoid double negation in test guide | Kir Shatrov | 2015-01-03 | 1 | -1/+1 |
| | | | | | | | | rails/rails#18305 | ||||
| * | Section about testing xhr requests | Kir Shatrov | 2015-01-03 | 1 | -0/+13 |
| | | | | | | | | rails/rails#18305 | ||||
* | | - Changed `IN` to `ON` in markdown renderer condition | Vipul A M | 2015-01-14 | 1 | -1/+1 |
|/ | | | | - Changed `IN` to `ON` in all note sentences in guides. | ||||
* | fix rake command typo in Testing guide [ci skip] | yuuji.yaginuma | 2014-12-31 | 1 | -1/+1 |
| | |||||
* | Replace exhaustive list of methods with pointer to API docs. [ci skip] | Zachary Scott | 2014-12-30 | 1 | -11/+1 |
| | |||||
* | Add result of running articles_routes_test and point to more information for | Zachary Scott | 2014-12-30 | 1 | -0/+16 |
| | | | | RoutingAssertions. [ci skip] |