spec/picky-client/convenience_spec.rb in picky-client-4.12.0 vs spec/picky-client/convenience_spec.rb in picky-client-4.12.1
- old
+ new
@@ -91,10 +91,10 @@
class ARClass
attr_reader :id
def initialize id
@id = id
end
- def self.find_by_id ids, options = {}
+ def self.find_all_by_id ids, options = {}
ids.map { |id| new(id) }
end
def == other
self.id == other.id
end