Instiki 0.16.5
Update to Rails 2.3.2 (the stable Rails 2.3 release). Add audio/speex support Update CHANGELOG Bump version number
This commit is contained in:
parent
801d307405
commit
e2ccdfd812
264 changed files with 4850 additions and 1906 deletions
|
@ -428,6 +428,20 @@ class ActionCacheTest < ActionController::TestCase
|
|||
assert_equal 'application/xml', @response.content_type
|
||||
end
|
||||
|
||||
def test_correct_content_type_is_returned_for_cache_hit_on_action_with_string_key
|
||||
# run it twice to cache it the first time
|
||||
get :show, :format => 'xml'
|
||||
get :show, :format => 'xml'
|
||||
assert_equal 'application/xml', @response.content_type
|
||||
end
|
||||
|
||||
def test_correct_content_type_is_returned_for_cache_hit_on_action_with_string_key_from_proc
|
||||
# run it twice to cache it the first time
|
||||
get :edit, :id => 1, :format => 'xml'
|
||||
get :edit, :id => 1, :format => 'xml'
|
||||
assert_equal 'application/xml', @response.content_type
|
||||
end
|
||||
|
||||
def test_empty_path_is_normalized
|
||||
@mock_controller.mock_url_for = 'http://example.org/'
|
||||
@mock_controller.mock_path = '/'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue