diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-01-15 23:21:08 -0200 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-01-17 18:07:08 -0200 |
commit | 20baeece919629b7e43b86aebb05f8e2af6d19ef (patch) | |
tree | 2b3516ccb6f5cdf7571a75d82797b71eb7ca1986 /actionpack/test/controller/render_test.rb | |
parent | 57f73a6bcf3311262172f1f348a1be614596b41a (diff) | |
download | rails-20baeece919629b7e43b86aebb05f8e2af6d19ef.tar.gz rails-20baeece919629b7e43b86aebb05f8e2af6d19ef.tar.bz2 rails-20baeece919629b7e43b86aebb05f8e2af6d19ef.zip |
Add some deprecations for logic being removed in 4.0
Diffstat (limited to 'actionpack/test/controller/render_test.rb')
-rw-r--r-- | actionpack/test/controller/render_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/render_test.rb b/actionpack/test/controller/render_test.rb index f42a04d670..0bac073154 100644 --- a/actionpack/test/controller/render_test.rb +++ b/actionpack/test/controller/render_test.rb @@ -54,7 +54,7 @@ class TestController < ActionController::Base def conditional_hello_with_record record = Struct.new(:updated_at, :cache_key).new(Time.now.utc.beginning_of_day, "foo/123") - + if stale?(record) render :action => 'hello_world' end |