summaryrefslogtreecommitdiffstats
path: root/test/functional/projects_controller_test.rb
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-03-25 01:54:15 +0000
committerGo MAEDA <maeda@farend.jp>2019-03-25 01:54:15 +0000
commit292f5ac97f68ebeb58741215e520d810949bcc39 (patch)
treecf7d9c949c87ee52bfedc9e7cb2658a51ef6b9d9 /test/functional/projects_controller_test.rb
parentffa4e02817479f1b657c69f640630c8d4c3b8a29 (diff)
downloadredmine-292f5ac97f68ebeb58741215e520d810949bcc39.tar.gz
redmine-292f5ac97f68ebeb58741215e520d810949bcc39.zip
Remove trailing whitespaces from test/functional/projects_controller_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@18004 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/projects_controller_test.rb')
-rw-r--r--test/functional/projects_controller_test.rb56
1 files changed, 28 insertions, 28 deletions
diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb
index 84f8cac6c..129dc44c0 100644
--- a/test/functional/projects_controller_test.rb
+++ b/test/functional/projects_controller_test.rb
@@ -173,8 +173,8 @@ class ProjectsControllerTest < Redmine::ControllerTest
:identifier => "blog",
:is_public => 1,
:custom_field_values => {
- '3' => 'Beta'
- },
+ '3' => 'Beta'
+ },
:tracker_ids => ['1', '3'],
# an issue custom field that is not for all project
:issue_custom_field_ids => ['9'],
@@ -207,10 +207,10 @@ class ProjectsControllerTest < Redmine::ControllerTest
:identifier => "blog",
:is_public => 1,
:custom_field_values => {
- '3' => 'Beta'
- },
+ '3' => 'Beta'
+ },
:parent_id => 1
-
+
}
}
assert_redirected_to '/projects/blog/settings'
@@ -229,7 +229,7 @@ class ProjectsControllerTest < Redmine::ControllerTest
:project => {
:name => "blog",
:identifier => "blog"
- },
+ },
:continue => 'Create and continue'
}
end
@@ -247,11 +247,11 @@ class ProjectsControllerTest < Redmine::ControllerTest
:identifier => "blog",
:is_public => 1,
:custom_field_values => {
- '3' => 'Beta'
- },
+ '3' => 'Beta'
+ },
:tracker_ids => ['1', '3'],
:enabled_module_names => ['issue_tracking', 'news', 'repository']
-
+
}
}
@@ -282,10 +282,10 @@ class ProjectsControllerTest < Redmine::ControllerTest
:identifier => "blog",
:is_public => 1,
:custom_field_values => {
- '3' => 'Beta'
- },
+ '3' => 'Beta'
+ },
:parent_id => 1
-
+
}
}
end
@@ -305,10 +305,10 @@ class ProjectsControllerTest < Redmine::ControllerTest
:identifier => "blog",
:is_public => 1,
:custom_field_values => {
- '3' => 'Beta'
- },
+ '3' => 'Beta'
+ },
:parent_id => 1
-
+
}
}
assert_redirected_to '/projects/blog/settings'
@@ -329,9 +329,9 @@ class ProjectsControllerTest < Redmine::ControllerTest
:identifier => "blog",
:is_public => 1,
:custom_field_values => {
- '3' => 'Beta'
- }
-
+ '3' => 'Beta'
+ }
+
}
}
end
@@ -353,10 +353,10 @@ class ProjectsControllerTest < Redmine::ControllerTest
:identifier => "blog",
:is_public => 1,
:custom_field_values => {
- '3' => 'Beta'
- },
+ '3' => 'Beta'
+ },
:parent_id => 6
-
+
}
}
end
@@ -377,7 +377,7 @@ class ProjectsControllerTest < Redmine::ControllerTest
:name => "blog1",
:identifier => "blog1",
:enabled_module_names => ["issue_tracking", "repository"]
-
+
}
}
end
@@ -390,7 +390,7 @@ class ProjectsControllerTest < Redmine::ControllerTest
:name => "blog2",
:identifier => "blog2",
:enabled_module_names => ["issue_tracking", "repository"]
-
+
}
}
end
@@ -410,7 +410,7 @@ class ProjectsControllerTest < Redmine::ControllerTest
:identifier => 'inherited',
:parent_id => parent.id,
:inherit_members => '1'
-
+
}
}
assert_response 302
@@ -432,7 +432,7 @@ class ProjectsControllerTest < Redmine::ControllerTest
:name => "blog",
:identifier => "",
:enabled_module_names => %w(issue_tracking news)
-
+
}
}
end
@@ -542,7 +542,7 @@ class ProjectsControllerTest < Redmine::ControllerTest
@request.session[:user_id] = 1
project = Project.find_by_identifier('ecookbook')
project.archive
-
+
get :show, :params => {
:id => 'ecookbook'
}
@@ -960,8 +960,8 @@ class ProjectsControllerTest < Redmine::ControllerTest
:identifier => 'unique-copy',
:tracker_ids => ['1', '2', '3', ''],
:enabled_module_names => %w(issue_tracking time_tracking)
-
- },
+
+ },
:only => %w(issues versions)
}
end