##// END OF EJS Templates
Removed assertions on blank template....
Jean-Philippe Lang -
r8888:4f153083ac00
parent child
Show More
@@ -163,7 +163,6 class RepositoriesSubversionControllerTest < ActionController::TestCase
163 get :entry, :id => PRJ_ID,
163 get :entry, :id => PRJ_ID,
164 :path => repository_path_hash(['subversion_test', 'helloworld.c'])[:param]
164 :path => repository_path_hash(['subversion_test', 'helloworld.c'])[:param]
165 assert_response :success
165 assert_response :success
166 assert_template ''
167 assert_equal 'attachment; filename="helloworld.c"',
166 assert_equal 'attachment; filename="helloworld.c"',
168 @response.headers['Content-Disposition']
167 @response.headers['Content-Disposition']
169 end
168 end
@@ -204,7 +203,6 class RepositoriesSubversionControllerTest < ActionController::TestCase
204 :path => repository_path_hash(['subversion_test', 'helloworld.c'])[:param],
203 :path => repository_path_hash(['subversion_test', 'helloworld.c'])[:param],
205 :format => 'raw'
204 :format => 'raw'
206 assert_response :success
205 assert_response :success
207 assert_template ''
208 assert_equal 'attachment; filename="helloworld.c"', @response.headers['Content-Disposition']
206 assert_equal 'attachment; filename="helloworld.c"', @response.headers['Content-Disposition']
209 end
207 end
210
208
General Comments 0
You need to be logged in to leave comments. Login now