assert_select 'table.issues.sort-by-due-date'
end
end
-
+
def test_page_with_issuequery_block_and_no_settings
user = User.find(2)
user.pref.my_page_layout = {'top' => ['issuequery']}
:group_ids => ['10'],
:custom_field_values => {
"4" => "0100562500"
- }
-
+ }
+
}
}
post :account, :params => {
:user => {
:mail => 'foobar@example.com'
-
+
}
}
post :update_page, :params => {
:settings => {
'issuesassignedtome' => {
- 'columns' => ['subject', 'due_date']}
+ 'columns' => ['subject', 'due_date']}
}
},
:xhr => true
pref = User.find(2).pref
pref.my_page_layout = {'left' => ['news', 'calendar','documents']}
pref.save!
-
+
post :order_blocks, :params => {
:group => 'left',
:blocks => ['documents', 'calendar', 'news']
pref = User.find(2).pref
pref.my_page_layout = {'left' => ['news','documents'], 'right' => ['calendar']}
pref.save!
-
+
post :order_blocks, :params => {
:group => 'left',
:blocks => ['news', 'calendar', 'documents']