summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-10 17:35:09 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-01-10 17:35:09 +0000
commit8eef72aa1a443a8cdc9d4c610e68fe408d5a1fcc (patch)
treedf8133e762edab7ead32818174f765f590e7de0d /test
parent4fc8c11cc06d3682f64f985e030ae6f57bd92be1 (diff)
downloadredmine-8eef72aa1a443a8cdc9d4c610e68fe408d5a1fcc.tar.gz
redmine-8eef72aa1a443a8cdc9d4c610e68fe408d5a1fcc.zip
Separated new/edit views for the timelog controller.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8628 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/timelog_controller_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/timelog_controller_test.rb b/test/functional/timelog_controller_test.rb
index 7a788aec5..09cf2b513 100644
--- a/test/functional/timelog_controller_test.rb
+++ b/test/functional/timelog_controller_test.rb
@@ -40,7 +40,7 @@ class TimelogControllerTest < ActionController::TestCase
@request.session[:user_id] = 3
get :new, :project_id => 1
assert_response :success
- assert_template 'edit'
+ assert_template 'new'
# Default activity selected
assert_tag :tag => 'option', :attributes => { :selected => 'selected' },
:content => 'Development'
@@ -50,7 +50,7 @@ class TimelogControllerTest < ActionController::TestCase
@request.session[:user_id] = 3
get :new, :project_id => 1
assert_response :success
- assert_template 'edit'
+ assert_template 'new'
assert_no_tag :tag => 'option', :content => 'Inactive Activity'
end