@@ -26,22 +26,22 class ContextMenusControllerTest < ActionController::TestCase | |||||
26 | :attributes => { :href => '/issues/1/edit', |
|
26 | :attributes => { :href => '/issues/1/edit', | |
27 | :class => 'icon-edit' } |
|
27 | :class => 'icon-edit' } | |
28 | assert_tag :tag => 'a', :content => 'Closed', |
|
28 | assert_tag :tag => 'a', :content => 'Closed', | |
29 |
:attributes => { :href => '/issues/bulk_ |
|
29 | :attributes => { :href => '/issues/bulk_update?ids%5B%5D=1&issue%5Bstatus_id%5D=5', | |
30 | :class => '' } |
|
30 | :class => '' } | |
31 | assert_tag :tag => 'a', :content => 'Immediate', |
|
31 | assert_tag :tag => 'a', :content => 'Immediate', | |
32 |
:attributes => { :href => '/issues/bulk_ |
|
32 | :attributes => { :href => '/issues/bulk_update?ids%5B%5D=1&issue%5Bpriority_id%5D=8', | |
33 | :class => '' } |
|
33 | :class => '' } | |
34 | assert_no_tag :tag => 'a', :content => 'Inactive Priority' |
|
34 | assert_no_tag :tag => 'a', :content => 'Inactive Priority' | |
35 | # Versions |
|
35 | # Versions | |
36 | assert_tag :tag => 'a', :content => '2.0', |
|
36 | assert_tag :tag => 'a', :content => '2.0', | |
37 |
:attributes => { :href => '/issues/bulk_ |
|
37 | :attributes => { :href => '/issues/bulk_update?ids%5B%5D=1&issue%5Bfixed_version_id%5D=3', | |
38 | :class => '' } |
|
38 | :class => '' } | |
39 | assert_tag :tag => 'a', :content => 'eCookbook Subproject 1 - 2.0', |
|
39 | assert_tag :tag => 'a', :content => 'eCookbook Subproject 1 - 2.0', | |
40 |
:attributes => { :href => '/issues/bulk_ |
|
40 | :attributes => { :href => '/issues/bulk_update?ids%5B%5D=1&issue%5Bfixed_version_id%5D=4', | |
41 | :class => '' } |
|
41 | :class => '' } | |
42 |
|
42 | |||
43 | assert_tag :tag => 'a', :content => 'Dave Lopper', |
|
43 | assert_tag :tag => 'a', :content => 'Dave Lopper', | |
44 |
:attributes => { :href => '/issues/bulk_ |
|
44 | :attributes => { :href => '/issues/bulk_update?ids%5B%5D=1&issue%5Bassigned_to_id%5D=3', | |
45 | :class => '' } |
|
45 | :class => '' } | |
46 | assert_tag :tag => 'a', :content => 'Duplicate', |
|
46 | assert_tag :tag => 'a', :content => 'Duplicate', | |
47 | :attributes => { :href => '/projects/ecookbook/issues/1/copy', |
|
47 | :attributes => { :href => '/projects/ecookbook/issues/1/copy', | |
@@ -79,13 +79,13 class ContextMenusControllerTest < ActionController::TestCase | |||||
79 | :attributes => { :href => "/issues/bulk_edit?#{ids}", |
|
79 | :attributes => { :href => "/issues/bulk_edit?#{ids}", | |
80 | :class => 'icon-edit' } |
|
80 | :class => 'icon-edit' } | |
81 | assert_tag :tag => 'a', :content => 'Closed', |
|
81 | assert_tag :tag => 'a', :content => 'Closed', | |
82 |
:attributes => { :href => "/issues/bulk_ |
|
82 | :attributes => { :href => "/issues/bulk_update?#{ids}&issue%5Bstatus_id%5D=5", | |
83 | :class => '' } |
|
83 | :class => '' } | |
84 | assert_tag :tag => 'a', :content => 'Immediate', |
|
84 | assert_tag :tag => 'a', :content => 'Immediate', | |
85 |
:attributes => { :href => "/issues/bulk_ |
|
85 | :attributes => { :href => "/issues/bulk_update?#{ids}&issue%5Bpriority_id%5D=8", | |
86 | :class => '' } |
|
86 | :class => '' } | |
87 | assert_tag :tag => 'a', :content => 'Dave Lopper', |
|
87 | assert_tag :tag => 'a', :content => 'Dave Lopper', | |
88 |
:attributes => { :href => "/issues/bulk_ |
|
88 | :attributes => { :href => "/issues/bulk_update?#{ids}&issue%5Bassigned_to_id%5D=3", | |
89 | :class => '' } |
|
89 | :class => '' } | |
90 | assert_tag :tag => 'a', :content => 'Copy', |
|
90 | assert_tag :tag => 'a', :content => 'Copy', | |
91 | :attributes => { :href => "/issues/move/new?copy_options%5Bcopy%5D=t&#{ids}", |
|
91 | :attributes => { :href => "/issues/move/new?copy_options%5Bcopy%5D=t&#{ids}", | |
@@ -111,13 +111,13 class ContextMenusControllerTest < ActionController::TestCase | |||||
111 | :attributes => { :href => "/issues/bulk_edit?#{ids}", |
|
111 | :attributes => { :href => "/issues/bulk_edit?#{ids}", | |
112 | :class => 'icon-edit' } |
|
112 | :class => 'icon-edit' } | |
113 | assert_tag :tag => 'a', :content => 'Closed', |
|
113 | assert_tag :tag => 'a', :content => 'Closed', | |
114 |
:attributes => { :href => "/issues/bulk_ |
|
114 | :attributes => { :href => "/issues/bulk_update?#{ids}&issue%5Bstatus_id%5D=5", | |
115 | :class => '' } |
|
115 | :class => '' } | |
116 | assert_tag :tag => 'a', :content => 'Immediate', |
|
116 | assert_tag :tag => 'a', :content => 'Immediate', | |
117 |
:attributes => { :href => "/issues/bulk_ |
|
117 | :attributes => { :href => "/issues/bulk_update?#{ids}&issue%5Bpriority_id%5D=8", | |
118 | :class => '' } |
|
118 | :class => '' } | |
119 | assert_tag :tag => 'a', :content => 'John Smith', |
|
119 | assert_tag :tag => 'a', :content => 'John Smith', | |
120 |
:attributes => { :href => "/issues/bulk_ |
|
120 | :attributes => { :href => "/issues/bulk_update?#{ids}&issue%5Bassigned_to_id%5D=2", | |
121 | :class => '' } |
|
121 | :class => '' } | |
122 | assert_tag :tag => 'a', :content => 'Delete', |
|
122 | assert_tag :tag => 'a', :content => 'Delete', | |
123 | :attributes => { :href => "/issues?#{ids}", |
|
123 | :attributes => { :href => "/issues?#{ids}", |
General Comments 0
You need to be logged in to leave comments.
Login now