mirror of
https://github.com/redmine/redmine.git
synced 2025-11-15 09:46:02 +01:00
Display calendar in vertical list layout on mobile screens (#33682).
Patch by Takashi Kato. git-svn-id: https://svn.redmine.org/redmine/trunk@22283 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -444,24 +444,22 @@ class MyControllerTest < Redmine::ControllerTest
|
||||
|
||||
assert_select 'form[data-cm-url=?]', '/issues/context_menu'
|
||||
|
||||
assert_select 'table.cal' do
|
||||
assert_select 'tr' do
|
||||
assert_select 'td' do
|
||||
assert_select 'ul.cal' do
|
||||
assert_select 'li' do
|
||||
assert_select(
|
||||
'div.issue.hascontextmenu.tooltip.starting.ending',
|
||||
:text => /eCookbook.*#{subject}/m
|
||||
) do
|
||||
assert_select(
|
||||
'div.issue.hascontextmenu.tooltip.starting.ending',
|
||||
:text => /eCookbook.*#{subject}/m
|
||||
) do
|
||||
assert_select(
|
||||
'a.issue[href=?]', "/issues/#{issue.id}",
|
||||
:text => "Bug ##{issue.id}"
|
||||
)
|
||||
assert_select(
|
||||
'input[name=?][type=?][value=?]',
|
||||
'ids[]',
|
||||
'checkbox',
|
||||
issue.id.to_s
|
||||
)
|
||||
end
|
||||
'a.issue[href=?]', "/issues/#{issue.id}",
|
||||
:text => "Bug ##{issue.id}"
|
||||
)
|
||||
assert_select(
|
||||
'input[name=?][type=?][value=?]',
|
||||
'ids[]',
|
||||
'checkbox',
|
||||
issue.id.to_s
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user