¶ ↑
pickle-dupePickle-dupe is an add-on to pickle that works with Dupe, an Active Resource mocking/factory.
¶ ↑
InstallationPickle-dupe requires the following gems
-
pickle 0.2.1 github.com/ianwhite/pickle
-
dupe 0.5.1 github.com/moonmaster9000/dupe/
To install pickle-dupe gem, do:
sudo gem install pickle-dupe
¶ ↑
UsageIn order to use pickle with dupe, you need to add :dupe to your pickle’s configuration as follows:
Pickle.configure do |config| config.adapters = [:dupe] end
¶ ↑
TODO-
Spec for dynamically creating ActiveResource model when there is dupe definition but no model defined, making sure the
site value is set.
¶ ↑
CopyrightCopyright © 2010 iawgens. See LICENSE for details.