test/test_plucky.rb in plucky-0.4.4 vs test/test_plucky.rb in plucky-0.5.0
- old
+ new
@@ -30,17 +30,19 @@
end
context "::Methods" do
should "return array of methods" do
Plucky::Methods.should == [
- :where, :filter, :limit, :skip, :offset, :sort, :order,
+ :where, :filter,
+ :sort, :order, :reverse,
+ :paginate, :per_page, :limit, :skip, :offset,
:fields, :ignore, :only,
- :each, :find_each,
+ :each, :find_each, :find_one, :find,
:count, :size, :distinct,
- :last, :first, :all, :paginate,
+ :last, :first, :all, :to_a,
:exists?, :exist?, :empty?,
- :to_a, :remove,
- ]
+ :remove,
+ ].sort_by(&:to_s)
end
end
end
end
\ No newline at end of file