summaryrefslogtreecommitdiffstats
path: root/test/functional/context_menus_controller_test.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-20 19:57:06 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2014-11-20 19:57:06 +0000
commit36d487fe505fbad9b0bc18a4d8f7b435a211be4a (patch)
tree7bf75212c0d2a0ea45db6ea1ebc7fa8460a34648 /test/functional/context_menus_controller_test.rb
parent2a43f1adbcbe155eb7c3c4a60c5c0c289dec2a0f (diff)
downloadredmine-36d487fe505fbad9b0bc18a4d8f7b435a211be4a.tar.gz
redmine-36d487fe505fbad9b0bc18a4d8f7b435a211be4a.zip
Replaced some #assert_tag with #assert_select.
git-svn-id: http://svn.redmine.org/redmine/trunk@13620 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/context_menus_controller_test.rb')
-rw-r--r--test/functional/context_menus_controller_test.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/functional/context_menus_controller_test.rb b/test/functional/context_menus_controller_test.rb
index 3a18ca30a..ec62d4307 100644
--- a/test/functional/context_menus_controller_test.rb
+++ b/test/functional/context_menus_controller_test.rb
@@ -60,9 +60,7 @@ class ContextMenusControllerTest < ActionController::TestCase
get :issues, :ids => [1]
assert_response :success
assert_template 'context_menus/issues'
- assert_tag :tag => 'a', :content => 'Delete',
- :attributes => { :href => '#',
- :class => 'icon-del disabled' }
+ assert_select 'a.icon-del.disabled[href="#"]', :text => 'Delete'
end
end