1. 25 8月, 2018 1 次提交
  2. 21 10月, 2017 1 次提交
  3. 29 7月, 2017 1 次提交
  4. 02 7月, 2017 1 次提交
  5. 01 7月, 2017 2 次提交
  6. 07 12月, 2016 1 次提交
  7. 24 9月, 2016 1 次提交
    • M
      Only search fixture_path for files that can't be found directly · e4fcc585
      Matthew Draper 提交于
      When passed an already-valid file name, prepending the path is likely to
      create problems.
      
      This is particularly relevant for #26384, which adds fixture_path
      handling to test classes that previously didn't have it: any existing
      caller must have been manually locating the file, and we don't want to
      break them.
      e4fcc585
  8. 07 8月, 2016 1 次提交
  9. 30 1月, 2016 1 次提交
  10. 13 12月, 2015 1 次提交
    • 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
  11. 06 8月, 2015 2 次提交
  12. 08 7月, 2015 1 次提交
  13. 30 5月, 2015 1 次提交
  14. 09 4月, 2013 1 次提交
  15. 27 11月, 2012 1 次提交
  16. 01 11月, 2012 1 次提交
  17. 18 2月, 2012 1 次提交
  18. 02 10月, 2011 1 次提交
  19. 26 6月, 2011 1 次提交
  20. 04 6月, 2011 2 次提交
    • A
      Add missing require for cookies middleware · a50865c7
      Andrew White 提交于
      a50865c7
    • A
      Refactor ActionController::TestCase cookies · d4658d86
      Andrew White 提交于
      Assigning cookies for test cases should now use cookies[], e.g:
      
        cookies[:email] = 'user@example.com'
        get :index
        assert_equal 'user@example.com', cookies[:email]
      
      To clear the cookies, use clear, e.g:
      
        cookies.clear
        get :index
        assert_nil cookies[:email]
      
      We now no longer write out HTTP_COOKIE and the cookie jar is
      persistent between requests so if you need to manipulate the environment
      for your test you need to do it before the cookie jar is created.
      d4658d86
  21. 14 5月, 2011 1 次提交
  22. 06 3月, 2011 1 次提交
    • A
      Improve testing of cookies in functional tests: · 31f09f9d
      Andrew White 提交于
      - cookies can be set using string or symbol keys
      - cookies are preserved across calls to get, post, etc.
      - cookie names and values are escaped
      - cookies can be cleared using @request.cookies.clear
      
      [#6272 state:resolved]
      31f09f9d
  23. 08 11月, 2010 1 次提交
  24. 21 4月, 2010 1 次提交
  25. 18 4月, 2010 1 次提交
  26. 17 2月, 2010 1 次提交
  27. 13 12月, 2009 1 次提交