lib/loquor/resource_mock.rb in loquor-0.9.0 vs lib/loquor/resource_mock.rb in loquor-1.0.0
- old
+ new
@@ -40,14 +40,14 @@
def where(*args)
[ find(1), find(2) ]
end
- def create(attrs)
- self.new(attrs)
+ def create(*attrs)
+ self.new(*attrs)
end
- def update(attrs)
+ def update(*attrs)
true
end
end
end