diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-01-14 17:40:51 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-01-14 17:40:51 +0000 |
commit | 9a80e118b96e3537392f1aad42505c4c1843519c (patch) | |
tree | 4a020099f8489670269ed614f09ed7aa6dfd4cd6 /test/functional/groups_controller_test.rb | |
parent | 5ea7abcf838cf73226f7f4e58007f93348a73a2c (diff) | |
download | redmine-9a80e118b96e3537392f1aad42505c4c1843519c.tar.gz redmine-9a80e118b96e3537392f1aad42505c4c1843519c.zip |
Add links to projects in Group projects list (#12843).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11183 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/groups_controller_test.rb')
-rw-r--r-- | test/functional/groups_controller_test.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/test/functional/groups_controller_test.rb b/test/functional/groups_controller_test.rb index d3428a130..03a5c4229 100644 --- a/test/functional/groups_controller_test.rb +++ b/test/functional/groups_controller_test.rb @@ -79,8 +79,11 @@ class GroupsControllerTest < ActionController::TestCase get :edit, :id => 10 assert_response :success assert_template 'edit' - assert_tag 'div', :attributes => {:id => 'tab-content-users'} - assert_tag 'div', :attributes => {:id => 'tab-content-memberships'} + + assert_select 'div#tab-content-users' + assert_select 'div#tab-content-memberships' do + assert_select 'a', :text => 'Private child of eCookbook' + end end def test_update |