summaryrefslogtreecommitdiffstats
path: root/test/functional/boards_controller_test.rb
diff options
context:
space:
mode:
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