mirror of
https://github.com/redmine/redmine.git
synced 2025-11-13 16:56:00 +01:00
more strictly start date assertion at CalendarsControllerTest#test_show
git-svn-id: http://svn.redmine.org/redmine/trunk@20241 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -66,16 +66,20 @@ class CalendarsControllerTest < Redmine::ControllerTest
|
|||||||
assert_select 'form[data-cm-url=?]', '/issues/context_menu'
|
assert_select 'form[data-cm-url=?]', '/issues/context_menu'
|
||||||
|
|
||||||
assert_select 'table.cal' do
|
assert_select 'table.cal' do
|
||||||
assert_select 'p.day-num', :text => date.day.to_s
|
assert_select 'tr' do
|
||||||
assert_select(
|
assert_select 'td' do
|
||||||
'div.issue.hascontextmenu.tooltip.starting',
|
assert_select 'p.day-num', :text => date.day.to_s
|
||||||
:text => /Add ingredients categories/
|
assert_select(
|
||||||
) do
|
'div.issue.hascontextmenu.tooltip.starting',
|
||||||
assert_select 'a.issue[href=?]', '/issues/2', :text => 'Feature request #2'
|
:text => /Add ingredients categories/
|
||||||
assert_select 'span.tip' do
|
) do
|
||||||
assert_select 'img[class="gravatar"]'
|
assert_select 'a.issue[href=?]', '/issues/2', :text => 'Feature request #2'
|
||||||
|
assert_select 'span.tip' do
|
||||||
|
assert_select 'img[class="gravatar"]'
|
||||||
|
end
|
||||||
|
assert_select 'input[name=?][type=?][value=?]', 'ids[]', 'checkbox', '2'
|
||||||
|
end
|
||||||
end
|
end
|
||||||
assert_select 'input[name=?][type=?][value=?]', 'ids[]', 'checkbox', '2'
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user