mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-09 17:11:32 +00:00
Don't call #slice on association proxy.
git-svn-id: http://svn.redmine.org/redmine/trunk@15732 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
8b107b6058
commit
3c88dd5041
@ -36,7 +36,7 @@ class BoardsControllerTest < Redmine::ControllerTest
|
||||
end
|
||||
|
||||
def test_index_should_show_messages_if_only_one_board
|
||||
Project.find(1).boards.slice(1..-1).each(&:destroy)
|
||||
Project.find(1).boards.to_a.slice(1..-1).each(&:destroy)
|
||||
|
||||
get :index, :project_id => 1
|
||||
assert_response :success
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user