Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Ruby 1.9 compat: omit Rack::Lint from integration tests until it accepts ↵ | Jeremy Kemper | 2009-01-31 | 1 | -1/+5 |
| | | | | String headers and bodies | ||||
* | Ruby 1.9 compat: work around that String is not Enumerable | Jeremy Kemper | 2009-01-31 | 1 | -1/+5 |
| | |||||
* | Update multipart tests to expose (another) bug in Rack's multipart parser | Joshua Peek | 2009-01-13 | 1 | -11/+0 |
| | |||||
* | Explicitly read as binary in multipart_body for Windows [#1065 state:resolved] | Bryan Ash | 2009-01-13 | 1 | -1/+1 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Revert "HTTP Digest authentication [#1230 state:resolved]" | Pratik Naik | 2009-01-13 | 1 | -82/+0 |
| | | | | | | | | | This reverts commit 45dee3842d68359a189fe7c0729359bd5a905ea4. Reasons : 1. The code is not working in it's current state 2. Should not be using exceptions for flow control | ||||
* | Set assigns for integration tests also | Jeremy Kemper | 2009-01-07 | 1 | -2/+5 |
| | |||||
* | Fixed bug where calling app method from console would raise ArgumentError ↵ | ddemaree | 2009-01-02 | 1 | -3/+2 |
| | | | | | | [#1629 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | HTTP Digest authentication [#1230 state:resolved] | Joshua Peek | 2008-12-28 | 1 | -0/+82 |
| | |||||
* | ActionController::VerbPiggybacking middleware | Joshua Peek | 2008-12-23 | 1 | -0/+11 |
| | |||||
* | Rename RackRequest to Request | Pratik Naik | 2008-12-23 | 1 | -1/+1 |
| | |||||
* | Rename AbstractResponse to Response and inheirt from Rack::Response | Joshua Peek | 2008-12-19 | 1 | -4/+4 |
| | |||||
* | Use status response accessor instead of the 'Status' header | Joshua Peek | 2008-12-19 | 1 | -1/+2 |
| | |||||
* | Use more generic test env flag | Joshua Peek | 2008-12-18 | 1 | -1/+1 |
| | |||||
* | Decorate responses from Rack Middleware and Rails Metal for the purposes of ↵ | Jesse Newland | 2008-12-17 | 1 | -10/+17 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | integration testing. A test for the following Metal: class Poller < Rails::Rack::Metal def call(env) if env["PATH_INFO"] =~ /^\/poller/ [200, {"Content-Type" => "text/plain"}, "Hello World!"] else super end end end might be tested like so: class PollerTest < ActionController::IntegrationTest test "poller returns hello world" do get "/poller" assert_response 200 assert_response :success assert_response :ok assert_equal "Hello World!", response.body end end [#1588 state:committed] Signed-off-by: David Heinemeier Hansson <david@loudthinking.com> | ||||
* | Switch to Rack based session stores. | Joshua Peek | 2008-12-15 | 1 | -2/+2 |
| | |||||
* | Use Mime::JS in place of explicit 'text/javascript' [#1573 state:resolved] | Seth Fitzsimmons | 2008-12-15 | 1 | -3/+1 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Fix for Integration::Session follow_redirect! headers['location'] bug with ↵ | Christos Zisopoulos | 2008-12-10 | 1 | -1/+1 |
| | | | | | | Rack [#1555 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Make integration test runner more Rack friendly and clean out old CGI cruft | Joshua Peek | 2008-12-08 | 1 | -57/+96 |
| | |||||
* | Boot out CGI Processor. | Joshua Peek | 2008-12-04 | 1 | -2/+3 |
| | | | | | * Add ActionController::CGIHandler as a backwards compatible CGI wrapper around Rack. * Also pull failsafe responder into ActionController::Failsafe middleware. | ||||
* | Ensure Test::Unit::Assertions is available | Jeremy Kemper | 2008-11-26 | 1 | -0/+1 |
| | |||||
* | Use autoload instead of explicit requires for ActionController | Joshua Peek | 2008-11-23 | 1 | -4/+0 |
| | |||||
* | Move controller assertions from base TestCase to AC:: and AV::TestCase | Jeremy Kemper | 2008-11-07 | 1 | -2/+2 |
| | |||||
* | call clear_active_connections! in :after_dispatch to give pooled connections ↵ | Aliaksey Kandratsenka | 2008-10-04 | 1 | -1/+1 |
| | | | | | | | | | | | back This fixes connection pool exhaustion for web servers which create new thread per connection (e.g. Webrick). integration.rb changes are required to keep test transaction active for several requests. Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1171 state:committed] | ||||
* | Get rid of 'Object#send!'. It was originally added because it's in Ruby 1.9, ↵ | Jeremy Kemper | 2008-08-31 | 1 | -4/+4 |
| | | | | | | | | | | but it has since been removed from 1.9. Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> Conflicts: actionpack/test/controller/layout_test.rb | ||||
* | Switched integration test runner to use Rack processor instead of CGI | Joshua Peek | 2008-08-20 | 1 | -44/+32 |
| | |||||
* | Delegate xhr helper method to integration session | Joshua Peek | 2008-08-19 | 1 | -1/+1 |
| | |||||
* | Remove send! usage, relic of reverted 1.9 behavior | Jeremy Kemper | 2008-07-28 | 1 | -1/+1 |
| | |||||
* | Merge docrails changes | Pratik Naik | 2008-07-28 | 1 | -5/+13 |
| | |||||
* | Merge with docrails. | Pratik Naik | 2008-07-16 | 1 | -1/+1 |
| | |||||
* | Performance: integration test benchmarking and profiling. [Jeremy Kemper] | Jeremy Kemper | 2008-06-14 | 1 | -4/+5 |
| | |||||
* | Merge docrails. | Pratik Naik | 2008-05-25 | 1 | -9/+9 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Ruby 1.9 compat: ensure binary encoding for post body parsing | Jeremy Kemper | 2008-05-19 | 1 | -0/+4 |
| | |||||
* | Ruby 1.9 compat: don't confuse with headers method call | Jeremy Kemper | 2008-04-01 | 1 | -3/+3 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9188 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Allow file uploads in Integration Tests. Closes #11091 [RubyRedRick] | Michael Koziarski | 2008-03-03 | 1 | -1/+49 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8978 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Integration tests use ActionController::Dispatcher rather than the old ↵ | Jeremy Kemper | 2007-12-22 | 1 | -2/+3 |
| | | | | | | Dispatcher. Closes #10596. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8483 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Added delete_via_redirect and put_via_redirect to integration testing ↵ | David Heinemeier Hansson | 2007-12-17 | 1 | -13/+28 |
| | | | | | | (closes #10497) [philodespotos] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8429 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Allow headers[Accept] to be set by hand when calling xml_http_request ↵ | David Heinemeier Hansson | 2007-12-17 | 1 | -1/+1 |
| | | | | | | (closes #10461) [BMorearty] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8426 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Remove unnecessary route reload in integration tests, obsoleted by [7676]. ↵ | Michael Koziarski | 2007-11-19 | 1 | -1/+0 |
| | | | | | | Closes #10094. [Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8168 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Remove unneeded code to disable optimisations. the defined?(request) stuff ↵ | Michael Koziarski | 2007-11-17 | 1 | -3/+0 |
| | | | | | | takes care of this now. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8163 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Factor Integration::Runner behavior out of IntegrationTest. Introduce ↵ | Jeremy Kemper | 2007-11-01 | 1 | -72/+85 |
| | | | | | | Session#request_count which counts processed requests. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8064 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Integration tests: get_ and post_via_redirect take a headers hash. Closes #9130. | Jeremy Kemper | 2007-10-27 | 1 | -6/+7 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8047 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | More Performant Cookie Regexp for Integration tests. [Ola Bini] | Michael Koziarski | 2007-10-16 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7946 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Missed post_via_redirect. References #6834 | Michael Koziarski | 2007-10-13 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7851 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Define get_via_redirect as well. Closes #6834 [colthorp] | Michael Koziarski | 2007-10-13 | 1 | -1/+2 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7850 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Move ActionController::Routing.optimise_named_routes to ↵ | Rick Olson | 2007-10-03 | 1 | -1/+1 |
| | | | | | | | | ActionController::Base.optimise_named_routes. Now you can set it in the config. ActionController::Routing::DynamicSegment#interpolation_chunk should call #to_s on all values before calling URI.escape. [Rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7724 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Ruby 1.9 compat, consistent load paths | Jeremy Kemper | 2007-10-02 | 1 | -8/+8 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Fixed spelling errors (closes #9706) [tarmo/rmm5t] | David Heinemeier Hansson | 2007-09-28 | 1 | -1/+1 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7666 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Random hits from the style nazi | David Heinemeier Hansson | 2007-09-09 | 1 | -8/+7 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7438 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Removed deprecated form of calling xml_http_request/xhr without the first ↵ | David Heinemeier Hansson | 2007-09-09 | 1 | -9/+0 |
| | | | | | | argument being the http verb [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7436 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Optimise named route generation when using positional arguments. Closes ↵ | Michael Koziarski | 2007-09-09 | 1 | -0/+4 |
| | | | | | | | | | | | | #9450 [Koz] This change delivers significant performance benefits for the most common usage scenarios for modern rails applications by avoiding the costly trip through url_for. Initial benchmarks indicate this is between 6 and 20 times as fast. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7421 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |