1. 31 1月, 2016 2 次提交
    • J
      Small cleanup to Testing Guide · d2bd7bba
      Jon Moss 提交于
      - inbuilt --> built-in
      - Remove random spaces from code examples
      
      [ci skip]
      d2bd7bba
    • V
      Pass 3 over testing guide · c01948cc
      Vipul A M 提交于
      - Various grammar fixes
      - Added assertions for update controller action tests
      - Added user helper tests
      - Fix typos
      
      [ci skip]
      c01948cc
  2. 23 1月, 2016 1 次提交
    • V
      Pass 2 over testing guide · 6026b37f
      Vipul A M 提交于
      - Grammar fixes
      - Wordsmitting
      - Fixed wrong statement about association usage in fixtures
      - Changed association name from 'one' to 'first' instead
      - More consistent usage of we/our
      - Mentions assert_select is below, not already covered in Integration test.
      
      [ci skip]
      6026b37f
  3. 22 1月, 2016 1 次提交
    • V
      First pass over parts of Testing guide · 86a3a549
      Vipul A M 提交于
      - Grammar improvements
      - Consistent usage of you or we in sentences
      - Tests can have zero or more assertions. Its not mandatory to have one.
      - Example for assert_send
      
      [ci skip]
      86a3a549
  4. 20 1月, 2016 1 次提交
  5. 31 12月, 2015 1 次提交
  6. 17 12月, 2015 1 次提交
  7. 13 12月, 2015 2 次提交
    • K
      [ci skip] Fix articles spelling. · 6be27016
      Kasper Timm Hansen 提交于
      Tiny typo in the testing guide; articules should be articles.
      6be27016
    • E
      Remove ActionController::TestCase from documentation · 4414c5d1
      eileencodes 提交于
      In Rails 5.1 `ActionController::TestCase` will be moved out of Rails
      into it's own gem.
      
      Please use `ActionDispatch::IntegrationTest` going foward.
      
      Because this will be moved to a gem I used `# :stopdoc:` instead of
      deleting the documentation. This will remove it from the Rails
      documentation but still leave the method documented for when we move it
      to a gem.
      
      Guides have been updated to use the routing structure used in Integration
      and all test examples have been updated to inherit from
      `ActionDispatch::IntegrationTest` instead of `ActionController::TestCase.
      
      Fixes #22496
      4414c5d1
  8. 19 11月, 2015 1 次提交
    • Y
      guides, scaffold no longer used in getting started guide. Closes #22337. · 58df2f4b
      Yves Senn 提交于
      [ci skip]
      
      Since the "Getting Started" guide no longer uses the scaffold generator
      we should rewrite references to that in the testing guide.
      
      The functional testing section was quite heavily based on such a
      scaffold test. I changed it to use `generate scaffold_controller`
      instead so that we can build up on the model foundation we already have.
      58df2f4b
  9. 16 11月, 2015 1 次提交
  10. 14 11月, 2015 1 次提交
  11. 09 11月, 2015 2 次提交
  12. 04 11月, 2015 1 次提交
  13. 07 10月, 2015 1 次提交
  14. 05 9月, 2015 1 次提交
  15. 28 8月, 2015 1 次提交
  16. 25 8月, 2015 1 次提交
    • R
      A quick pass over the testing guide · f150decf
      Robin Dupret 提交于
      * 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]
      f150decf
  17. 17 8月, 2015 1 次提交
    • Z
      reorganize testing guide. [Zachary Scott & Yves Senn] · 7985908b
      Zachary Scott 提交于
      [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.
      7985908b
  18. 16 8月, 2015 1 次提交
    • R
      Tiny documentation fixes [ci skip] · b803798b
      Robin Dupret 提交于
      * 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.
      b803798b
  19. 15 8月, 2015 1 次提交
  20. 21 7月, 2015 1 次提交
  21. 15 7月, 2015 1 次提交
  22. 13 6月, 2015 1 次提交
  23. 30 5月, 2015 1 次提交
  24. 28 5月, 2015 1 次提交
  25. 22 5月, 2015 1 次提交
  26. 20 5月, 2015 2 次提交
  27. 15 5月, 2015 1 次提交
  28. 10 5月, 2015 1 次提交
  29. 28 4月, 2015 1 次提交
    • Y
      guides, bring back minitest assertion table. [ci skip] · a66a64aa
      Yves Senn 提交于
      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.
      a66a64aa
  30. 31 3月, 2015 5 次提交
  31. 30 3月, 2015 1 次提交
  32. 26 3月, 2015 1 次提交