remove trailing white-spaces from test/functional/previews_controller_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6829 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
93b838c3f7
commit
24718defcd
|
@ -5,12 +5,12 @@
|
||||||
# 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.
|
||||||
|
@ -27,7 +27,7 @@ class PreviewsControllerTest < ActionController::TestCase
|
||||||
assert_template 'preview'
|
assert_template 'preview'
|
||||||
assert_not_nil assigns(:description)
|
assert_not_nil assigns(:description)
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_preview_issue_notes
|
def test_preview_issue_notes
|
||||||
@request.session[:user_id] = 2
|
@request.session[:user_id] = 2
|
||||||
post :issue, :project_id => '1', :id => 1, :issue => {:description => Issue.find(1).description}, :notes => 'Foo'
|
post :issue, :project_id => '1', :id => 1, :issue => {:description => Issue.find(1).description}, :notes => 'Foo'
|
||||||
|
@ -35,7 +35,7 @@ class PreviewsControllerTest < ActionController::TestCase
|
||||||
assert_template 'preview'
|
assert_template 'preview'
|
||||||
assert_not_nil assigns(:notes)
|
assert_not_nil assigns(:notes)
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_preview_journal_notes_for_update
|
def test_preview_journal_notes_for_update
|
||||||
@request.session[:user_id] = 2
|
@request.session[:user_id] = 2
|
||||||
post :issue, :project_id => '1', :id => 1, :notes => 'Foo'
|
post :issue, :project_id => '1', :id => 1, :notes => 'Foo'
|
||||||
|
|
Loading…
Reference in New Issue