mirror of
https://github.com/meineerde/redmine.git
synced 2025-12-22 16:31:12 +00:00
shorten log line at GanttsControllerTest#test_gantt_should_work
git-svn-id: http://svn.redmine.org/redmine/trunk@19790 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
407f83a775
commit
7d97cd4d5c
@ -52,8 +52,14 @@ class GanttsControllerTest < Redmine::ControllerTest
|
|||||||
end
|
end
|
||||||
assert_select 'p.contextual' do
|
assert_select 'p.contextual' do
|
||||||
prev_month, next_month = User.current.today.prev_month, User.current.today.next_month
|
prev_month, next_month = User.current.today.prev_month, User.current.today.next_month
|
||||||
assert_select 'a[accesskey="p"][href=?]', project_gantt_path(:project_id => 1, :month => prev_month.month, :year => prev_month.year)
|
assert_select(
|
||||||
assert_select 'a[accesskey="n"][href=?]', project_gantt_path(:project_id => 1, :month => next_month.month, :year => next_month.year)
|
'a[accesskey="p"][href=?]',
|
||||||
|
project_gantt_path(:project_id => 1, :month => prev_month.month, :year => prev_month.year)
|
||||||
|
)
|
||||||
|
assert_select(
|
||||||
|
'a[accesskey="n"][href=?]',
|
||||||
|
project_gantt_path(:project_id => 1, :month => next_month.month, :year => next_month.year)
|
||||||
|
)
|
||||||
end
|
end
|
||||||
assert_select 'p.buttons'
|
assert_select 'p.buttons'
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user