Removed assertions on blank template.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9008 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
4f31027f08
commit
4f153083ac
|
@ -163,7 +163,6 @@ class RepositoriesSubversionControllerTest < ActionController::TestCase
|
||||||
get :entry, :id => PRJ_ID,
|
get :entry, :id => PRJ_ID,
|
||||||
:path => repository_path_hash(['subversion_test', 'helloworld.c'])[:param]
|
:path => repository_path_hash(['subversion_test', 'helloworld.c'])[:param]
|
||||||
assert_response :success
|
assert_response :success
|
||||||
assert_template ''
|
|
||||||
assert_equal 'attachment; filename="helloworld.c"',
|
assert_equal 'attachment; filename="helloworld.c"',
|
||||||
@response.headers['Content-Disposition']
|
@response.headers['Content-Disposition']
|
||||||
end
|
end
|
||||||
|
@ -204,7 +203,6 @@ class RepositoriesSubversionControllerTest < ActionController::TestCase
|
||||||
:path => repository_path_hash(['subversion_test', 'helloworld.c'])[:param],
|
:path => repository_path_hash(['subversion_test', 'helloworld.c'])[:param],
|
||||||
:format => 'raw'
|
:format => 'raw'
|
||||||
assert_response :success
|
assert_response :success
|
||||||
assert_template ''
|
|
||||||
assert_equal 'attachment; filename="helloworld.c"', @response.headers['Content-Disposition']
|
assert_equal 'attachment; filename="helloworld.c"', @response.headers['Content-Disposition']
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue