mirror of
https://github.com/redmine/redmine.git
synced 2025-11-10 15:26:03 +01:00
add text to assert_select of CalendarsControllerTest#test_show
git-svn-id: http://svn.redmine.org/redmine/trunk@20228 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -63,7 +63,10 @@ class CalendarsControllerTest < Redmine::ControllerTest
|
|||||||
|
|
||||||
# Assert context menu on issues
|
# Assert context menu on issues
|
||||||
assert_select 'form[data-cm-url=?]', '/issues/context_menu'
|
assert_select 'form[data-cm-url=?]', '/issues/context_menu'
|
||||||
assert_select 'div.issue.hascontextmenu.tooltip.starting' do
|
assert_select(
|
||||||
|
'div.issue.hascontextmenu.tooltip.starting',
|
||||||
|
:text => /Add ingredients categories/
|
||||||
|
) do
|
||||||
assert_select 'a.issue[href=?]', '/issues/2', :text => 'Feature request #2'
|
assert_select 'a.issue[href=?]', '/issues/2', :text => 'Feature request #2'
|
||||||
assert_select 'span.tip' do
|
assert_select 'span.tip' do
|
||||||
assert_select 'img[class="gravatar"]'
|
assert_select 'img[class="gravatar"]'
|
||||||
|
|||||||
Reference in New Issue
Block a user