Permalink
Browse files

use the helper method, rather than directly access the options hash

  • Loading branch information...
1 parent a9aff6c commit 2a535a934a82aa8987f477799997d8360629b4f4 @mceachen committed Sep 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/user_spec.rb
View
@@ -117,7 +117,7 @@ def assert_mid_and_leaf_remain
end
it "supports siblings" do
- User.closure_tree_options[:sort_order].should be_nil
+ User.order_option.should be_nil
a = User.create(:email => "a")
b1 = a.children.create(:email => "b1")
b2 = a.children.create(:email => "b2")

0 comments on commit 2a535a9

Please sign in to comment.