Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add custom "with_routing" to internal tests to fix reseting session after using | Joshua Peek | 2009-10-03 | 1 | -4/+1 | |
| | | | | with_routing. This only affects our internal AP tests. | |||||
* | Allow integration test rack app to be set with "@app" ivar instead of using ↵ | Joshua Peek | 2009-09-26 | 1 | -1/+1 | |
| | | | | open_session | |||||
* | Fix generic url rewriter in integration tests | Joshua Peek | 2009-09-25 | 1 | -0/+9 | |
| | ||||||
* | Avoid conflict with a "MetalTest" module used in tests | Joshua Peek | 2009-09-19 | 1 | -1/+1 | |
| | ||||||
* | Need to reset session in internal integration tests after altering the route set | Joshua Peek | 2009-09-06 | 1 | -0/+1 | |
| | ||||||
* | test depends on html-scanner | Jeremy Kemper | 2009-05-23 | 1 | -0/+1 | |
| | ||||||
* | Integrating Rack::MockSession (from Rack::Test) | Bryan Helmkamp | 2009-05-19 | 1 | -3/+3 | |
| | ||||||
* | Change integration test helpers to accept Rack environment instead of just ↵ | Pratik Naik | 2009-05-19 | 1 | -12/+12 | |
| | | | | | | | HTTP Headers. Before : get '/path', {}, 'Accept' => 'text/javascript' After : get '/path', {}, 'HTTP_ACCEPT' => 'text/javascript' | |||||
* | Group integration test helpers and delegate other helpers to request and ↵ | Joshua Peek | 2009-04-30 | 1 | -11/+1 | |
| | | | | response objects | |||||
* | Unify functional and integration tests cookie helpers | Joshua Peek | 2009-04-26 | 1 | -1/+1 | |
| | ||||||
* | Start to integrate some of the features in Rack::Test. | Joshua Peek | 2009-04-24 | 1 | -1/+1 | |
| | | | | Eventually commit ActionDispatch::Test::MockRequest and ActionDispatch::Test:: UploadedFile upstream. | |||||
* | update rack fixture to be ruby 1.9 compat | Joshua Peek | 2009-03-15 | 1 | -2/+2 | |
| | ||||||
* | update rack fixture to be ruby 1.9 compat | Joshua Peek | 2009-03-15 | 1 | -1/+1 | |
| | ||||||
* | Update bundled Rack for Ruby 1.9 spec changes | Joshua Peek | 2009-02-07 | 1 | -1/+1 | |
| | ||||||
* | Bump mocha requirement for Ruby 1.9 compat. Remove uses_mocha. | Jeremy Kemper | 2009-02-03 | 1 | -4/+0 | |
| | ||||||
* | Use Rack::Head middleware to ensure the body is discarded for HEAD requests | Joshua Peek | 2009-02-01 | 1 | -0/+14 | |
| | ||||||
* | Revert "HTTP Digest authentication [#1230 state:resolved]" | Pratik Naik | 2009-01-13 | 1 | -88/+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 | |||||
* | Bump Rack version to 0.9 | Joshua Peek | 2009-01-06 | 1 | -3/+3 | |
| | ||||||
* | HTTP Digest authentication [#1230 state:resolved] | Joshua Peek | 2008-12-28 | 1 | -0/+88 | |
| | ||||||
* | Fix metal tests | Joshua Peek | 2008-12-17 | 1 | -7/+3 | |
| | ||||||
* | Decorate responses from Rack Middleware and Rails Metal for the purposes of ↵ | Jesse Newland | 2008-12-17 | 1 | -0/+35 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+0 | |
| | ||||||
* | Fix for Integration::Session follow_redirect! headers['location'] bug with ↵ | Christos Zisopoulos | 2008-12-10 | 1 | -8/+4 | |
| | | | | | | 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 | -38/+9 | |
| | ||||||
* | Use autoload instead of explicit requires for ActionController | Joshua Peek | 2008-11-23 | 1 | -2/+0 | |
| | ||||||
* | Get rid of 'Object#send!'. It was originally added because it's in Ruby 1.9, ↵ | Jeremy Kemper | 2008-08-31 | 1 | -1/+1 | |
| | | | | | | | | | | 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 | -1/+1 | |
| | ||||||
* | Improve test coverage for integration tests cookie header | Joshua Peek | 2008-08-20 | 1 | -1/+4 | |
| | ||||||
* | Test coverage for integration testing with parameters | Joshua Peek | 2008-08-19 | 1 | -0/+32 | |
| | ||||||
* | Delegate xhr helper method to integration session | Joshua Peek | 2008-08-19 | 1 | -1/+18 | |
| | ||||||
* | More integration test coverage | Joshua Peek | 2008-08-17 | 1 | -3/+29 | |
| | ||||||
* | Improved test coverage for integration test's api | Joshua Peek | 2008-06-17 | 1 | -5/+88 | |
| | ||||||
* | use stubbing instead of monkeypatching to stop tests from interfering ↵ | Michael Koziarski | 2008-02-19 | 1 | -14/+13 | |
| | | | | | | with one another. Closes #11163 [RubyRedRick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8899 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | require abstract_unit directly since test is in load path | Jeremy Kemper | 2008-01-05 | 1 | -2/+1 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8564 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Integration tests use ActionController::Dispatcher rather than the old ↵ | Jeremy Kemper | 2007-12-22 | 1 | -1/+0 | |
| | | | | | | 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 | -11/+32 | |
| | | | | | | (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 | -0/+9 | |
| | | | | | | (closes #10461) [BMorearty] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8426 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/+6 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8047 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Ruby 1.9 compat, consistent load paths | Jeremy Kemper | 2007-10-02 | 1 | -1/+1 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7719 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Removed deprecated form of calling xml_http_request/xhr without the first ↵ | David Heinemeier Hansson | 2007-09-09 | 1 | -10/+0 | |
| | | | | | | argument being the http verb [DHH] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7436 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Take advantage of Mocha support for sequenced returns. Closes #8639 [Josh Peek] | Jeremy Kemper | 2007-06-13 | 1 | -4/+2 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7010 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Integration tests: alias xhr to xml_http_request and add a request_method ↵ | Jeremy Kemper | 2007-05-21 | 1 | -4/+54 | |
| | | | | | | argument instead of always using POST. Closes #7124. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6796 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Integration tests: introduce methods for other HTTP methods. Closes #6353. | Jeremy Kemper | 2007-02-22 | 1 | -1/+38 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@6203 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Wrap and skip tests using mocha. | Jeremy Kemper | 2007-01-14 | 1 | -6/+2 | |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5926 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | |||||
* | Integration tests: thoroughly test ActionController::Integration::Session. ↵ | Jeremy Kemper | 2006-09-03 | 1 | -0/+154 | |
Closes #6022. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4954 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |