summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-31 13:09:12 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-08-31 13:09:12 +0000
commitee40c7aac325ca482a813273d5f41a075115b919 (patch)
tree4bed8207369fe81294f6f231ed20c0e31e817819 /test
parenta611039e27197569058878ffd9badfc727c1708a (diff)
downloadredmine-ee40c7aac325ca482a813273d5f41a075115b919.tar.gz
redmine-ee40c7aac325ca482a813273d5f41a075115b919.zip
remove trailing white-spaces from test/functional/issue_moves_controller_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6908 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/issue_moves_controller_test.rb14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/functional/issue_moves_controller_test.rb b/test/functional/issue_moves_controller_test.rb
index 2a9caca0f..368cd7c8f 100644
--- a/test/functional/issue_moves_controller_test.rb
+++ b/test/functional/issue_moves_controller_test.rb
@@ -50,7 +50,7 @@ class IssueMovesControllerTest < ActionController::TestCase
assert_equal 1, Issue.find(1).tracker_id
assert_equal 2, Issue.find(2).tracker_id
end
-
+
def test_bulk_create_to_another_tracker
@request.session[:user_id] = 2
post :create, :ids => [1, 2], :new_tracker_id => 2
@@ -63,7 +63,7 @@ class IssueMovesControllerTest < ActionController::TestCase
setup do
@request.session[:user_id] = 2
end
-
+
should "allow changing the issue priority" do
post :create, :ids => [1, 2], :priority_id => 6
@@ -81,7 +81,7 @@ class IssueMovesControllerTest < ActionController::TestCase
assert_equal 'Moving two issues', Issue.find(2).journals.sort_by(&:id).last.notes
end
-
+
end
def test_bulk_copy_to_another_project
@@ -108,12 +108,12 @@ class IssueMovesControllerTest < ActionController::TestCase
assert_equal issue_before_move.status_id, issue_after_move.status_id
assert_equal issue_before_move.assigned_to_id, issue_after_move.assigned_to_id
end
-
+
should "allow changing the issue's attributes" do
# Fixes random test failure with Mysql
# where Issue.all(:limit => 2, :order => 'id desc', :conditions => {:project_id => 2}) doesn't return the expected results
Issue.delete_all("project_id=2")
-
+
@request.session[:user_id] = 2
assert_difference 'Issue.count', 2 do
assert_no_difference 'Project.find(1).issues.count' do
@@ -137,7 +137,7 @@ class IssueMovesControllerTest < ActionController::TestCase
assert_difference 'Issue.count', 1 do
post :create, :ids => [1], :copy_options => {:copy => '1'}, :notes => 'Copying one issue', :new_tracker_id => '', :assigned_to_id => 4, :status_id => 3, :start_date => '2009-12-01', :due_date => '2009-12-31'
end
-
+
issue = Issue.first(:order => 'id DESC')
assert_equal 1, issue.journals.size
journal = issue.journals.first
@@ -145,7 +145,7 @@ class IssueMovesControllerTest < ActionController::TestCase
assert_equal 'Copying one issue', journal.notes
end
end
-
+
def test_copy_to_another_project_should_follow_when_needed
@request.session[:user_id] = 2
post :create, :ids => [1], :new_project_id => 2, :copy_options => {:copy => '1'}, :follow => '1'