- 02 1月, 2015 1 次提交
-
-
由 brainopia 提交于
-
- 17 12月, 2014 1 次提交
-
-
由 Carsten Wirth 提交于
-
- 23 11月, 2014 1 次提交
-
-
由 Godfrey Chan 提交于
Reference #17453
-
- 19 11月, 2014 1 次提交
-
-
由 Rafael Mendonça França 提交于
This reverts commit f93df528, reversing changes made to a455e3f4. Conflicts: actionpack/lib/action_controller/test_case.rb actionview/lib/action_view/test_case.rb
-
- 18 11月, 2014 1 次提交
-
-
由 Rafael Mendonça França 提交于
-
- 10 11月, 2014 1 次提交
-
-
由 Godfrey Chan 提交于
Follow up to 212057b9. Since that commit, we need to pass the `route_name` explicitly. This is one of the left-over cases that was not handled in that commit, which was causing `use_route` to be ignored in functional tests.
-
- 30 9月, 2014 1 次提交
-
-
由 Kasper Timm Hansen 提交于
This is to match the changes in Rails Dom Testing rails/rails-dom-testing#20.
-
- 14 8月, 2014 1 次提交
-
-
由 Guo Xiang Tan 提交于
The test was not failing for `assert_template file: nil` when a file has been rendered.
-
- 07 8月, 2014 1 次提交
-
-
由 Guo Xiang Tan 提交于
The latest modification to the code was done in https://github.com/rails/rails/commit/5e3517ea. In Rails 3.2, `ActionController#rescue_action` was deprecated and `rescue_action_without_handler` is no longer being used.
-
- 05 8月, 2014 1 次提交
-
-
由 Aaron Patterson 提交于
we know that this call only wants the path returned, so lets call a method that returns the path.
-
- 25 7月, 2014 1 次提交
-
-
- 21 7月, 2014 1 次提交
-
-
由 Guo Xiang Tan 提交于
Fixes https://github.com/rails/rails/issues/16119.
-
- 16 7月, 2014 1 次提交
-
-
由 Rafael Mendonça França 提交于
We can just use nokogiri
-
- 08 7月, 2014 1 次提交
-
-
由 Guo Xiang Tan 提交于
-
- 03 7月, 2014 1 次提交
-
-
由 Guo Xiang Tan 提交于
This pull request is a continuation of https://github.com/rails/rails/commit/925bd975 and https://github.com/rails/rails/commit/8d8ebe3d.
-
- 17 6月, 2014 5 次提交
- 13 6月, 2014 1 次提交
-
-
由 Guo Xiang Tan 提交于
`to_session_value` returns nil when empty.
-
- 06 6月, 2014 1 次提交
-
-
由 Guo Xiang Tan 提交于
-
- 23 5月, 2014 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 04 5月, 2014 2 次提交
-
-
由 Carlos Antonio da Silva 提交于
-
由 Gaurish Sharma 提交于
[ci skip]
-
- 27 4月, 2014 1 次提交
-
- 21 4月, 2014 4 次提交
-
-
由 Xavier Noria 提交于
Revert Festival! I reverted a reverted commit, undo. This reverts commit 07ea3776.
-
由 Xavier Noria 提交于
Reason: docrails policy is very strict about code. No matter how innocent the change, if it is not documentation it needs to go through a PR to rails/rails. Plase see the warning box at the bottom of http://edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html#contributing-to-the-rails-documentation This reverts commit e1c5d243.
-
由 Gaurish Sharma 提交于
This reverts commit 9b1c077c. my bad. `assert_template` only accepts a String, Symbol, Hash, Regexp or nil. `false`(layout: false) is provided as a Hash.
-
由 Gaurish Sharma 提交于
[ci skip]
-
- 20 4月, 2014 1 次提交
-
-
由 Gaurish Sharma 提交于
[ci skip]
-
- 14 4月, 2014 1 次提交
-
-
由 Guo Xiang Tan 提交于
-
- 25 3月, 2014 1 次提交
-
-
由 Frederick Cheung 提交于
-
- 13 3月, 2014 2 次提交
-
-
由 Aaron Patterson 提交于
avoid freezing the headers until the web server has actually read data from the body proxy. Once the webserver has read data, then we should throw an error if someone tries to set a header
-
由 Aaron Patterson 提交于
when streaming responses, we need to make sure the cookie jar is written to the headers before returning up the stack. This commit introduces a new method on the response object that writes the cookie jar to the headers as the response is committed. The middleware and test framework will not write the cookie headers if the response has already been committed. fixes #14352
-
- 01 3月, 2014 1 次提交
-
-
由 Aaron Patterson 提交于
detect the type of controller we're testing and return the right type of response based on that controller. This allows us to stop doing the weird sleep thing.
-
- 27 2月, 2014 1 次提交
-
-
由 Tony Wooster 提交于
Commit 4f2cd3e9 introduced a bug by reordering the call to `@controller.recycle!` above the call to `build_request_uri`. The impact of this was that the `@_url_options` cache ends up not being reset between building a request URI (occurring within the test controller) and the firing of the actual request. We encountered this bug because we had the following setup: class MinimumReproducibleController < ActionController::Base before_filter { @param = 'param' } def index render text: url_for(params) end def default_url_options { custom_opt: @param } end end def test_index get :index # builds url, then fires actual request end The first step in `get :index` in the test suite would populate the @_url_options cache. The subsequent call to `url_for` inside of the controller action would then utilize the uncleared cache, thus never calling the now-updated default_url_options. This commit fixes this bug calling recycle! twice, and removes a call to set response_body, which should no longer be needed since we're recycling the request object explicitly.
-
- 27 1月, 2014 1 次提交
-
-
由 Andrew White 提交于
The request attributes filtered_parameters, filtered_env and filtered_path are memoized for performance reasons. However this can cause unusual behavior in tests where there are multiple calls to get, post, etc. Fixes #13803.
-
- 28 6月, 2013 1 次提交
-
-
由 kennyj 提交于
-
- 16 5月, 2013 1 次提交
-
-
由 Rafael Mendonça França 提交于
This reverts commit 0303c232. Conflicts: actionpack/lib/action_controller/test_case.rb REASON: It will conflict with a lot of test cases. Better to call `process` directly since this is a very uncommon HTTP method. Fixes #10638.
-