- 05 6月, 2011 3 次提交
-
-
由 Andrew White 提交于
This commit restores the ability to assign cookies for testing via @request.env['HTTP_COOKIE'] and @request.cookies, e.g: @request.env['HTTP_COOKIE'] = 'user_name=david' get :index assert_equal 'david', cookies[:user_name] and @request.cookies[:user_name] = 'david' get :index assert_equal 'david', cookies[:user_name] Assigning via cookies[] is the preferred method and will take precedence over the other two methods. This is so that cookies set in controller actions have precedence and are carried over between calls to get, post, etc.
-
由 Andrew White 提交于
-
由 Guillermo Iguaran 提交于
-
- 04 6月, 2011 2 次提交
-
-
由 Andrew White 提交于
-
由 Andrew White 提交于
Assigning cookies for test cases should now use cookies[], e.g: cookies[:email] = 'user@example.com' get :index assert_equal 'user@example.com', cookies[:email] To clear the cookies, use clear, e.g: cookies.clear get :index assert_nil cookies[:email] We now no longer write out HTTP_COOKIE and the cookie jar is persistent between requests so if you need to manipulate the environment for your test you need to do it before the cookie jar is created.
-
- 01 6月, 2011 3 次提交
-
-
由 Ernie Miller 提交于
-
由 Damien Mathieu 提交于
-
由 Arun Agrawal 提交于
-
- 31 5月, 2011 1 次提交
-
-
由 brainopia 提交于
-
- 30 5月, 2011 1 次提交
-
-
由 Lee Reilly 提交于
-
- 28 5月, 2011 2 次提交
-
-
由 Andrés Botero 提交于
-
由 jacott 提交于
-
- 26 5月, 2011 2 次提交
-
-
由 dmathieu 提交于
Fixed while traveling to heuruko
-
由 Kuldar Krabbi 提交于
-
- 25 5月, 2011 5 次提交
-
-
由 tomhuda 提交于
Move SCSS generators and default templates from Rails to the Sass Railtie (d435726312601edb3ba6f97b34f562221f72c1f8). * Sass gem registers a compressor * Sass gem registers generators for assets and scaffold * Create a default stylesheet_engine ("css") for apps that remove the Sass gem
-
由 tomhuda 提交于
Change compressor API so that plugins can register default compressors for their stylesheet or JS engines and still allow the user to turn off compression
-
由 Josh Kalderimis 提交于
-
由 Josh Kalderimis 提交于
-
由 Vijay Dev 提交于
-
- 24 5月, 2011 11 次提交
-
-
由 Ernie Miller 提交于
-
由 tomhuda 提交于
-
由 Dmytrii Nagirniak 提交于
-
由 wycats 提交于
-
由 Sebastian Martinez 提交于
-
由 wycats 提交于
-
由 wycats 提交于
-
由 wycats 提交于
-
由 Sebastian Martinez 提交于
-
由 Jon Leighton 提交于
Replace references to ActiveSupport::SecureRandom with just SecureRandom, and require 'securerandom' from the stdlib when active support is required.
- 23 5月, 2011 10 次提交
-
-
由 Sebastian Martinez 提交于
-
由 Frederick Cheung 提交于
-
由 wycats 提交于
-
由 wycats 提交于
-
由 wycats 提交于
-
由 wycats 提交于
-
由 wycats 提交于
Also, no need to include dependencies in AS::Concerns inside included blocks.
-
由 wycats 提交于
-
由 Arun Agrawal 提交于
-
由 Joshua Peek 提交于
-