diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-01-24 18:45:40 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-01-24 18:45:40 +0000 |
commit | af0fcd22e40d19930e8c379f963df662f3a9a454 (patch) | |
tree | adad83de28aea52021784527f92da6c596d5b361 /test/functional/versions_controller_test.rb | |
parent | 858bd8dc40215486198aa73ab701a17262064b0b (diff) | |
download | redmine-af0fcd22e40d19930e8c379f963df662f3a9a454.tar.gz redmine-af0fcd22e40d19930e8c379f963df662f3a9a454.zip |
Provide a direct access to completed versions form the roadmap.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8699 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/versions_controller_test.rb')
-rw-r--r-- | test/functional/versions_controller_test.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/functional/versions_controller_test.rb b/test/functional/versions_controller_test.rb index df1d9a8af..414e2fc72 100644 --- a/test/functional/versions_controller_test.rb +++ b/test/functional/versions_controller_test.rb @@ -42,6 +42,9 @@ class VersionsControllerTest < ActionController::TestCase assert !assigns(:versions).include?(Version.find(1)) # Context menu on issues assert_select "script", :text => Regexp.new(Regexp.escape("new ContextMenu('/issues/context_menu')")) + # Links to completed versions in the sidebar + assert_tag 'a', :attributes => {:href => '/versions/1'}, + :ancestor => {:tag => 'div', :attributes => {:id => 'sidebar'}} end def test_index_with_completed_versions |