summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/unit/project_nested_set_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/project_nested_set_test.rb b/test/unit/project_nested_set_test.rb
index 16d7cf155..78f1f5a53 100644
--- a/test/unit/project_nested_set_test.rb
+++ b/test/unit/project_nested_set_test.rb
@@ -57,7 +57,7 @@ class ProjectNestedSetTest < ActiveSupport::TestCase
end
def test_rebuild_tree_should_build_valid_tree_even_with_valid_lft_rgt_values
- Project.where({:id => @a.id }).update_all("name = 'YY'")
+ Project.where({:id => @a.id}).update_all("name = 'YY'")
# lft and rgt values are still valid (Project.rebuild! would not update anything)
# but projects are not ordered properly (YY is in the first place)