remove trailing white-spaces from test/functional/issues_controller_transaction_test.rb.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6919 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2011-08-31 16:03:15 +00:00
parent 4f81c4c7f6
commit d75dda848a
1 changed files with 6 additions and 6 deletions

View File

@ -1,16 +1,16 @@
# Redmine - project management software # Redmine - project management software
# Copyright (C) 2006-2010 Jean-Philippe Lang # Copyright (C) 2006-2011 Jean-Philippe Lang
# #
# This program is free software; you can redistribute it and/or # This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License # modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2 # as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version. # of the License, or (at your option) any later version.
# #
# This program is distributed in the hope that it will be useful, # This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of # but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details. # GNU General Public License for more details.
# #
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software # along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
@ -44,14 +44,14 @@ class IssuesControllerTransactionTest < ActionController::TestCase
:queries :queries
self.use_transactional_fixtures = false self.use_transactional_fixtures = false
def setup def setup
@controller = IssuesController.new @controller = IssuesController.new
@request = ActionController::TestRequest.new @request = ActionController::TestRequest.new
@response = ActionController::TestResponse.new @response = ActionController::TestResponse.new
User.current = nil User.current = nil
end end
def test_put_update_stale_issue def test_put_update_stale_issue
issue = Issue.find(2) issue = Issue.find(2)
@request.session[:user_id] = 2 @request.session[:user_id] = 2
@ -71,7 +71,7 @@ class IssuesControllerTransactionTest < ActionController::TestCase
end end
end end
end end
assert_response :success assert_response :success
assert_template 'edit' assert_template 'edit'
assert_tag :tag => 'div', :attributes => { :id => 'errorExplanation' }, assert_tag :tag => 'div', :attributes => { :id => 'errorExplanation' },