@@ -36,7 +36,7 class BoardsControllerTest < Redmine::ControllerTest | |||
|
36 | 36 | end |
|
37 | 37 | |
|
38 | 38 | def test_index_should_show_messages_if_only_one_board |
|
39 | Project.find(1).boards.slice(1..-1).each(&:destroy) | |
|
39 | Project.find(1).boards.to_a.slice(1..-1).each(&:destroy) | |
|
40 | 40 | |
|
41 | 41 | get :index, :project_id => 1 |
|
42 | 42 | assert_response :success |
General Comments 0
You need to be logged in to leave comments.
Login now