##// END OF EJS Templates
Rails4: replace deprecated Relation#update_all at BoardsControllerTest...
Toshi MARUYAMA -
r12238:4ca6fb4226df
parent child
Show More
@@ -57,7 +57,7 class BoardsControllerTest < ActionController::TestCase
57 57
58 58 def test_show_should_display_sticky_messages_first
59 59 Message.update_all(:sticky => 0)
60 Message.update_all({:sticky => 1}, {:id => 1})
60 Message.where({:id => 1}).update_all({:sticky => 1})
61 61
62 62 get :show, :project_id => 1, :id => 1
63 63 assert_response :success
General Comments 0
You need to be logged in to leave comments. Login now