- 01 10月, 2012 1 次提交
-
-
由 Yves Senn 提交于
-
- 30 9月, 2012 2 次提交
-
-
由 Rafael Mendonça França 提交于
-
由 Hugo Roque 提交于
Given Im rendering an template `/layout/hello.html.erb`, assert_template was passing with any string that matches. This behavior allowed false passing like: assert_template "layout" assert_template "out/hello" Now the passing possibilities are: assert_template "layout/hello" assert_template "hello" fixing assert_template bug when template matches expected, but not ends with Cherry Pick Merge: Fixes issue #3849 assert_template false positive taking redundant test off prevening incorrect assert_template when rendering with repeated names in path updating CHANGELOG with bugfix: assert_template false passing
-
- 27 9月, 2012 1 次提交
-
-
由 Andy Lindeman 提交于
-
- 25 9月, 2012 2 次提交
-
-
由 Mike Moore 提交于
Allow controller tests using the spec DSL to match strings. Add test coverage for the register_spec_type calls.
-
由 Mike Moore 提交于
Add tests for controller tests using the minitest spec DSL.
-
- 04 8月, 2012 1 次提交
-
-
由 Bogdan Gusiev 提交于
-
- 03 8月, 2012 2 次提交
-
-
由 Xavier Noria 提交于
-
由 Xavier Noria 提交于
-
- 30 7月, 2012 2 次提交
-
-
由 Aaron Patterson 提交于
responses. Processing controller actions in a separate thread allows us to work around the rack api - we can allow the user to set status and headers, then block until the first bytes are written. As soon as the first bytes are written, the main thread can return the status, headers, and (essentially) a queue for the body.
-
由 Aaron Patterson 提交于
-
- 29 7月, 2012 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 28 7月, 2012 1 次提交
-
-
由 Aaron Patterson 提交于
-
- 10 7月, 2012 1 次提交
-
-
由 Aaron Patterson 提交于
minitest/spec provides `describe`, so deprecate the rails version and have people use the superclass version
-
- 06 7月, 2012 1 次提交
-
-
由 Aaron Patterson 提交于
This reverts commit 9669f6f7. This breaks Sam Ruby's tests for some reason. Revert until we figure it out.
-
- 04 7月, 2012 11 次提交
-
-
由 François de Metz 提交于
Signed-off-by: NFrançois de Metz <francois@stormz.me>
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
instead of deleting keys on every instantiation, create defaults we actually use. eventually we can pass an environment in to the request, and create a new req / res object on each call.
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
-
由 Aaron Patterson 提交于
merging cookies is responsibility of the test runner
-
由 Aaron Patterson 提交于
For some reason, this special logic is only supposed to be executed on the second request. For now, we'll extend on recycle, but we should figure out why this functionality can't be run on every request
-
由 Aaron Patterson 提交于
Try to avoid making the controller mutate itself so that we can eventually make the response async
-
- 23 6月, 2012 1 次提交
-
-
由 Francesco Rodriguez 提交于
-
- 22 6月, 2012 1 次提交
-
-
由 Tim Vandecasteele 提交于
To test uploading a file without using fixture_file_upload, a posted ActionDispatch::Http::UploadedFile should not be paramified (just like Rack::Test::UploadedFile). (Rack::Test::UploadedFile and ActionDispatch::Http::UploadedFile don't share the same API, tempfile is not accessible on Rack::Test::UploadedFile as discussed in https://github.com/brynary/rack-test/issues/30)
-
- 18 5月, 2012 2 次提交
-
-
由 Jeremy Kemper 提交于
Fix incorrect assert_block -> assert conversion. Assumed too much from the MiniTest deprecation message.
-
由 Jeremy Kemper 提交于
-
- 15 5月, 2012 1 次提交
-
-
由 Francesco Rodriguez 提交于
-
- 05 5月, 2012 3 次提交
-
-
由 Alexey Vakhov 提交于
-
由 Alexey Vakhov 提交于
-
由 Alexey Vakhov 提交于
-
- 30 4月, 2012 1 次提交
-
-
由 Michael Schuerig 提交于
-
- 29 4月, 2012 2 次提交
-
-
由 Andrew White 提交于
-
由 Andrew White 提交于
This may break existing tests that are asserting the whole session contents but should not break existing tests that are asserting individual keys - e.g: class SomeControllerTest < ActionController::TestCase setup do session['user_id'] = 1 end test "some test" do get :some_action, nil, { 'another_var' => 2 } # This assertion will now fail assert_equal({ 'another_var' => 2 }, session) # This assertion will still pass assert_equal 2, session['another_var] end end Fixes #1529.
-
- 28 4月, 2012 1 次提交
-
-
由 Will Bryant 提交于
fix the Flash middleware loading the session on every request (very dangerous especially with Rack::Cache), it should only be loaded when the flash method is called
-
- 27 4月, 2012 1 次提交
-
-
由 Vasiliy Ermolovich 提交于
-
- 13 4月, 2012 1 次提交
-
-
由 Alexey Vakhov 提交于
-