"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "test/functional/workflows_controller_test.rb" between
redmine-4.1.0.tar.gz and redmine-4.1.1.tar.gz

About: Redmine is a flexible project management and bug-tracking web application (using the Ruby on Rails framework). It supports also project wikis and forums, documents management, and multiple version control systems.

workflows_controller_test.rb  (redmine-4.1.0):workflows_controller_test.rb  (redmine-4.1.1)
skipping to change at line 100 skipping to change at line 100
get :edit, :params => {:role_id => 1, :tracker_id => 1} get :edit, :params => {:role_id => 1, :tracker_id => 1}
assert_response :success assert_response :success
assert_select 'td', 'New issue' assert_select 'td', 'New issue'
assert_select 'input[type=checkbox][name=?][value="1"][checked=checked]', 't ransitions[0][1][always]' assert_select 'input[type=checkbox][name=?][value="1"][checked=checked]', 't ransitions[0][1][always]'
end end
def test_get_edit_with_all_roles_and_all_trackers def test_get_edit_with_all_roles_and_all_trackers
get :edit, :params => {:role_id => 'all', :tracker_id => 'all'} get :edit, :params => {:role_id => 'all', :tracker_id => 'all'}
assert_response :success assert_response :success
assert_select 'select[name=?][multiple=multiple]', 'role_id[]' do assert_select 'select[name=?]', 'role_id[]' do
assert_select 'option[selected=selected]', Role.all.count(&:consider_workf assert_select 'option[selected=selected][value=all]'
end end
assert_select 'select[name=?]', 'tracker_id[]' do assert_select 'select[name=?]', 'tracker_id[]' do
assert_select 'option[selected=selected][value=all]' assert_select 'option[selected=selected][value=all]'
end end
end end
def test_get_edit_with_role_and_tracker_and_all_statuses def test_get_edit_with_role_and_tracker_and_all_statuses
WorkflowTransition.delete_all WorkflowTransition.delete_all
get :edit, :params => {:role_id => 2, :tracker_id => 1, :used_statuses_only => '0'} get :edit, :params => {:role_id => 2, :tracker_id => 1, :used_statuses_only => '0'}
 End of changes. 1 change blocks. 
3 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)