added roadmap and activity calls in projects functional tests
git-svn-id: http://redmine.rubyforge.org/svn/trunk@371 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
724ca74f51
commit
1493c2a9b4
|
@ -458,6 +458,15 @@ permissions_061:
|
||||||
mail_option: false
|
mail_option: false
|
||||||
sort: 130
|
sort: 130
|
||||||
is_public: true
|
is_public: true
|
||||||
|
permissions_062:
|
||||||
|
action: roadmap
|
||||||
|
id: 63
|
||||||
|
description: label_roadmap
|
||||||
|
controller: projects
|
||||||
|
mail_enabled: false
|
||||||
|
mail_option: false
|
||||||
|
sort: 107
|
||||||
|
is_public: true
|
||||||
permissions_050:
|
permissions_050:
|
||||||
action: history
|
action: history
|
||||||
id: 50
|
id: 50
|
||||||
|
|
|
@ -112,6 +112,20 @@ class ProjectsControllerTest < Test::Unit::TestCase
|
||||||
assert_not_nil assigns(:fixed_issues)
|
assert_not_nil assigns(:fixed_issues)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def test_roadmap
|
||||||
|
get :roadmap, :id => 1
|
||||||
|
assert_response :success
|
||||||
|
assert_template 'roadmap'
|
||||||
|
assert_not_nil assigns(:versions)
|
||||||
|
end
|
||||||
|
|
||||||
|
def test_activity
|
||||||
|
get :activity, :id => 1
|
||||||
|
assert_response :success
|
||||||
|
assert_template 'activity'
|
||||||
|
assert_not_nil assigns(:events_by_day)
|
||||||
|
end
|
||||||
|
|
||||||
def test_search
|
def test_search
|
||||||
get :search, :id => 1
|
get :search, :id => 1
|
||||||
assert_response :success
|
assert_response :success
|
||||||
|
|
Loading…
Reference in New Issue