diff options
| author | Joshua Peek <josh@joshpeek.com> | 2008-11-22 13:19:11 -0600 | 
|---|---|---|
| committer | Joshua Peek <josh@joshpeek.com> | 2008-11-22 13:19:11 -0600 | 
| commit | 20d6fdd2567b44fc7de9768a6dedd50d2ea9c4ce (patch) | |
| tree | ffaa0e86dd07114b8ae459bf054b14c041ec6427 /actionpack/test/controller | |
| parent | cd1a9ed991e8988dbcc28023b91e76b5ee45f79b (diff) | |
| download | rails-20d6fdd2567b44fc7de9768a6dedd50d2ea9c4ce.tar.gz rails-20d6fdd2567b44fc7de9768a6dedd50d2ea9c4ce.tar.bz2 rails-20d6fdd2567b44fc7de9768a6dedd50d2ea9c4ce.zip  | |
write_fragment returns content if caching is disabled [#846 state:resolved]
Diffstat (limited to 'actionpack/test/controller')
| -rw-r--r-- | actionpack/test/controller/caching_test.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/caching_test.rb b/actionpack/test/controller/caching_test.rb index eb106c1eb4..10c65acd9a 100644 --- a/actionpack/test/controller/caching_test.rb +++ b/actionpack/test/controller/caching_test.rb @@ -527,7 +527,7 @@ class FragmentCachingTest < ActionController::TestCase    def test_write_fragment_with_caching_disabled      assert_nil @store.read('views/name')      ActionController::Base.perform_caching = false -    assert_equal nil, @controller.write_fragment('name', 'value') +    assert_equal 'value', @controller.write_fragment('name', 'value')      assert_nil @store.read('views/name')    end  | 
