summaryrefslogtreecommitdiffstats
path: root/test/functional/wikis_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-21 16:58:59 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-07-21 16:58:59 +0000
commit29ddc82a11f30f7fcb917dd062fc38f48640b4ea (patch)
treef7d58fb646b26808462fe1dc91888a68d8ecdcd2 /test/functional/wikis_controller_test.rb
parent55e89ae5bc815e777165de12fdd79545cbf42c5a (diff)
downloadredmine-29ddc82a11f30f7fcb917dd062fc38f48640b4ea.tar.gz
redmine-29ddc82a11f30f7fcb917dd062fc38f48640b4ea.zip
Removes calls to #assert_template and #assigns in functional tests.
git-svn-id: http://svn.redmine.org/redmine/trunk@15724 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/wikis_controller_test.rb')
-rw-r--r--test/functional/wikis_controller_test.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/functional/wikis_controller_test.rb b/test/functional/wikis_controller_test.rb
index c4fffba48..7a37ca265 100644
--- a/test/functional/wikis_controller_test.rb
+++ b/test/functional/wikis_controller_test.rb
@@ -31,7 +31,6 @@ class WikisControllerTest < Redmine::ControllerTest
assert_difference 'Wiki.count' do
xhr :post, :edit, :params => {:id => 3, :wiki => { :start_page => 'Start page' }}
assert_response :success
- assert_template 'edit'
assert_equal 'text/javascript', response.content_type
end
@@ -46,7 +45,6 @@ class WikisControllerTest < Redmine::ControllerTest
assert_no_difference 'Wiki.count' do
xhr :post, :edit, :params => {:id => 3, :wiki => { :start_page => '' }}
assert_response :success
- assert_template 'edit'
assert_equal 'text/javascript', response.content_type
end
@@ -60,7 +58,6 @@ class WikisControllerTest < Redmine::ControllerTest
assert_no_difference 'Wiki.count' do
xhr :post, :edit, :params => {:id => 1, :wiki => { :start_page => 'Other start page' }}
assert_response :success
- assert_template 'edit'
assert_equal 'text/javascript', response.content_type
end