summaryrefslogtreecommitdiffstats
path: root/test/functional/boards_controller_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-01-08 04:58:29 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2014-01-08 04:58:29 +0000
commit4ca6fb4226df108281a9e5391f515fe6ae62683a (patch)
tree5c863b8a940d4e9a01639e8e70c0242365975973 /test/functional/boards_controller_test.rb
parent30e3e7e0b4b2b0ad400efd7947c909341a5948a0 (diff)
downloadredmine-4ca6fb4226df108281a9e5391f515fe6ae62683a.tar.gz
redmine-4ca6fb4226df108281a9e5391f515fe6ae62683a.zip
Rails4: replace deprecated Relation#update_all at BoardsControllerTest
git-svn-id: http://svn.redmine.org/redmine/trunk@12513 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/boards_controller_test.rb')
-rw-r--r--test/functional/boards_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/boards_controller_test.rb b/test/functional/boards_controller_test.rb
index a8154faa3..ec654cccb 100644
--- a/test/functional/boards_controller_test.rb
+++ b/test/functional/boards_controller_test.rb
@@ -57,7 +57,7 @@ class BoardsControllerTest < ActionController::TestCase
def test_show_should_display_sticky_messages_first
Message.update_all(:sticky => 0)
- Message.update_all({:sticky => 1}, {:id => 1})
+ Message.where({:id => 1}).update_all({:sticky => 1})
get :show, :project_id => 1, :id => 1
assert_response :success