spec/functional/id_spec.rb in picky-4.21.1 vs spec/functional/id_spec.rb in picky-4.21.2
- old
+ new
@@ -31,11 +31,10 @@
things << OpenStruct.new(number: 2, text: "ohai kthxbye")
data = Picky::Index.new :id do
source { things }
- key_format :to_i
- id :number # TODO :format => :to_i
+ id :number, format: 'to_i'
category :text
end
data.index
\ No newline at end of file