Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Define a SynchronousQueue for test in Action Pack. | Rafael Mendonça França | 2012-09-12 | 1 | -6/+0 |
| | | | | We don't need to rely on rails/queueing in Action Pack tests | ||||
* | Fix build Rails.queue | Arun Agrawal | 2012-09-12 | 1 | -0/+6 |
| | | | | see 34b23e7110a3a13cf157608cefc9b5701017bf39 | ||||
* | Allow routing concerns to accept a callable | Ernie Miller | 2012-09-03 | 1 | -0/+1 |
| | | | | | | This allows us to make alterations to the generated routes based on the scope of the current mapper, and otherwise allows us to move larger blocks of concerns out of the routes file, altogether. | ||||
* | Extract common controllers to abstract_unit | Rafael Mendonça França | 2012-08-13 | 1 | -0/+29 |
| | |||||
* | push drawing once to it's own module | Aaron Patterson | 2012-08-09 | 1 | -32/+20 |
| | |||||
* | refactor the before_setup hooks to a module | Aaron Patterson | 2012-08-09 | 1 | -13/+12 |
| | |||||
* | switch callbacks to minitest hooks | Aaron Patterson | 2012-08-09 | 1 | -3/+6 |
| | |||||
* | Renamed _path_segments to _recall | Bogdan Gusiev | 2012-08-04 | 1 | -1/+1 |
| | |||||
* | Remove ActionDispatch::Head middleware in favor of Rack::Head | Santiago Pastorino | 2012-07-23 | 1 | -1/+1 |
| | | | | Closes #7110 there's more work to do on rack-cache issue 69 | ||||
* | Allow to use mounted helpers in ActionView::TestCase | Piotr Sarnacki | 2012-06-01 | 1 | -0/+1 |
| | | | | | Similarly to 6525002, this allows to use routes helpers for mounted helpers, but this time in ActionView::TestCase | ||||
* | Remove useless load path modifications | Santiago Pastorino | 2012-05-11 | 1 | -6/+0 |
| | |||||
* | Remove default match without specified method | Jose and Yehuda | 2012-04-24 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | In the current router DSL, using the +match+ DSL method will match all verbs for the path to the specified endpoint. In the vast majority of cases, people are currently using +match+ when they actually mean +get+. This introduces security implications. This commit disallows calling +match+ without an HTTP verb constraint by default. To explicitly match all verbs, this commit also adds a :via => :all option to +match+. Closes #5964 | ||||
* | Remove --http. | José Valim | 2012-03-14 | 1 | -4/+0 |
| | |||||
* | Add ActionController::HTTP | Santiago Pastorino | 2012-03-14 | 1 | -0/+4 |
| | | | | | | More info http://edgeguides.rubyonrails.org/api_app.html [Carlos Antonio da Silva & Santiago Pastorino] | ||||
* | moved the `get` testing method to a module | Aaron Patterson | 2012-01-23 | 1 | -0/+15 |
| | |||||
* | require minitest rather than test/unit | Aaron Patterson | 2012-01-06 | 1 | -1/+1 |
| | |||||
* | Change more Array.wrap to Kernel#Array | Rafael Mendonça França | 2012-01-05 | 1 | -2/+2 |
| | |||||
* | deprecate String#encoding_aware? and remove its usage | Sergey Nartimov | 2011-12-24 | 1 | -8/+5 |
| | |||||
* | Extract the rendering of public exceptions pages into a Rack app. | José Valim | 2011-12-16 | 1 | -9/+1 |
| | |||||
* | Split ShowExceptions responsibilities in two middlewares. | José Valim | 2011-12-01 | 1 | -9/+13 |
| | |||||
* | fix method redefined warnings in tests | lest | 2011-11-30 | 1 | -0/+5 |
| | |||||
* | fix warning in tests when using render_erb helper | lest | 2011-11-30 | 1 | -0/+2 |
| | |||||
* | test helpers in erb using erb | lest | 2011-11-30 | 1 | -0/+8 |
| | |||||
* | middlewares should use logger from env | lest | 2011-11-25 | 1 | -2/+2 |
| | |||||
* | Revert "Merge pull request #2647 from dmathieu/no_rescue" | Santiago Pastorino | 2011-08-30 | 1 | -5/+1 |
| | | | | This reverts commit 125b1b0b9180ec8f0135da185e77250d2b8a4bea. | ||||
* | remove useless rescue | Damien Mathieu | 2011-08-24 | 1 | -1/+5 |
| | | | | | params is a method, defined in every controller, which always returns a hash. If it raises a NoMethodError, it means there's a bug somewhere else, which we want to know about. | ||||
* | Fix failing test on uninitialized `Rails.config.assets.prefix` | Prem Sichanugrist | 2011-06-08 | 1 | -0/+1 |
| | | | | This was introduced in [2684f17a17e4f97bdb89d20b4cd08585235263a2] :bomb: | ||||
* | We don't need to load version any more as Sprockets.beta8 is included. | Arun Agrawal | 2011-05-23 | 1 | -1/+0 |
| | |||||
* | Make sure that we're able to run Action Pack test standalone. | Prem Sichanugrist | 2011-05-22 | 1 | -0/+1 |
| | | | | | | | | Sprocket was trying to look for these two things: * `Rails::VERSION::STRING` * `.initializer(str)` in `Rails::Engine` This commit added require to version.rb into Abstract Unit, and mocking the `Rails::Engine.initializer` in `sprockets_helper_test.rb` | ||||
* | do not require ruby-debug automatically. please require it if you have ↵ | Aaron Patterson | 2010-11-19 | 1 | -8/+0 |
| | | | | declared it as a dependency | ||||
* | Don't write out secure cookies unless the request is secure | Andrew White | 2010-10-25 | 1 | -0/+5 |
| | |||||
* | removing more duplicate code | Aaron Patterson | 2010-10-01 | 1 | -0/+17 |
| | |||||
* | delete repeated code | Aaron Patterson | 2010-10-01 | 1 | -0/+18 |
| | |||||
* | Remove deprecated stuff in ActionController | Carlos Antonio da Silva | 2010-09-26 | 1 | -4/+2 |
| | | | | | | This removes all deprecated classes in ActionController related to Routing, Abstract Request/Response and Integration/IntegrationTest. All tests and docs were changed to ActionDispatch instead of ActionController. | ||||
* | There is no need to open AC::Base three times to setup tests. | Carlos Antonio da Silva | 2010-09-26 | 1 | -27/+20 |
| | |||||
* | Revert "Extended default route for match in tests - now it matches ↵ | Łukasz Strzałkowski | 2010-09-05 | 1 | -2/+2 |
| | | | | | | controller, action, id and format if given." This reverts commit 05e9d0df0dea68ca4655aa8723c3ee69049fac78. | ||||
* | Extended default route for match in tests - now it matches controller, ↵ | Łukasz Strzałkowski | 2010-09-05 | 1 | -2/+2 |
| | | | | | | action, id and format if given. This fixes url_for tests | ||||
* | Removed deprecated RouteSet API, still many tests fail | Piotr Sarnacki | 2010-09-05 | 1 | -14/+4 |
| | |||||
* | Silence warnings for Encoding.default_external= and Encoding.default_internal= | Santiago Pastorino | 2010-08-22 | 1 | -2/+6 |
| | |||||
* | Move encoding settings for testing purposes to abstract_unit file | Santiago Pastorino | 2010-08-21 | 1 | -1/+5 |
| | |||||
* | Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵ | Santiago Pastorino | 2010-08-14 | 1 | -1/+1 |
| | | | | 's/[ \t]*$//' -i {} \;) | ||||
* | Fix routes with :controller segment when namespaced [#5034 state:resolved] | José Valim | 2010-07-02 | 1 | -7/+10 |
| | |||||
* | Unify routes naming by renaming router to routes | Piotr Sarnacki | 2010-07-02 | 1 | -4/+4 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Deprecate the old router DSL. Since it is still used intensively across ↵ | José Valim | 2010-06-28 | 1 | -0/+8 |
| | | | | ActionPack test suite, patches that translates Rails internal tests to the new router DSL are welcome (note though that a few tests shouldn't be translated since they are testing exactly the old mapper API, like the ones in actionpack/test/controller/resource_test.rb and actionpack/test/controller/routing_test.rb) | ||||
* | Move Rails module to abstract_unit to make test in isolation work | Santiago Pastorino | 2010-06-28 | 1 | -0/+3 |
| | | | | Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Fixed that an ArgumentError is thrown when request.session_options[:id] is ↵ | Michael Lovitt | 2010-06-27 | 1 | -0/+15 |
| | | | | | | | | read in the following scenario: when the cookie store is used, and the session contains a serialized object of an unloaded class, and no session data accesses have occurred yet. Pushed the stale_session_check responsibility out of the SessionHash and down into the session store, closer to where the deserialization actually occurs. Added some test coverage for this case and others related to deserialization of unloaded types. [#4938] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | cache_sweeper yields blank output | Neeraj Singh | 2010-06-08 | 1 | -0/+3 |
| | | | | | | [#3914 state:open] Signed-off-by: José Valim <jose.valim@gmail.com> | ||||
* | Simplify cookie_store by simply relying on cookies.signed. | José Valim | 2010-05-18 | 1 | -0/+1 |
| | |||||
* | Revert "Moved encoding work in progress to a feature branch." | wycats | 2010-05-17 | 1 | -0/+4 |
| | | | | This reverts commit ade756fe42423033bae8e5aea8f58782f7a6c517. | ||||
* | Moved encoding work in progress to a feature branch. | Jeremy Kemper | 2010-05-16 | 1 | -4/+0 |
| | | | | This reverts commits af0d1a88157942c6e6398dbf73891cff1e152405 and 64d109e3539ad600f58536d3ecabd2f87b67fd1c. |