test/models/adminpanel/section_test.rb in adminpanel-2.3.1 vs test/models/adminpanel/section_test.rb in adminpanel-2.4.0
- old
+ new
@@ -21,10 +21,10 @@
end
def test_default_scope
assert_equal(
Adminpanel::Section.all.to_sql,
- Adminpanel::Section.reorder('').order('page ASC').to_sql
+ Adminpanel::Section.reorder('').order(:order => :asc).to_sql
)
end
protected
def set_telephone