@@ -57,7 +57,7 class BoardsControllerTest < ActionController::TestCase | |||||
57 |
|
57 | |||
58 | def test_show_should_display_sticky_messages_first |
|
58 | def test_show_should_display_sticky_messages_first | |
59 | Message.update_all(:sticky => 0) |
|
59 | Message.update_all(:sticky => 0) | |
60 |
Message.update_all({:sticky => 1} |
|
60 | Message.where({:id => 1}).update_all({:sticky => 1}) | |
61 |
|
61 | |||
62 | get :show, :project_id => 1, :id => 1 |
|
62 | get :show, :project_id => 1, :id => 1 | |
63 | assert_response :success |
|
63 | assert_response :success |
General Comments 0
You need to be logged in to leave comments.
Login now