RubyGems Navigation menu

factory_boy 2.0.0

Factory Girl with database accesses stubbed. The versions 2+ only work with Rails 3 (AR 3+) for stubbing queries. Now handle Rails 3 (only Rails 3) queries stubbing, Transform rail3 queries into ruby select on Plants created with factory boy. Example user = Plant(:user => 'toto', :addresses => [Plant(:address, :street => 'here')]) User.where(:name => 'toto').where('addresses.street = 'here').joins(:addresses) will be stubbed into a select ruby on plants and return here, user. See more on github and in unit tests.

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 2.0.3 - October 14, 2012 (19.5 KB)
  2. 2.0.2 - April 29, 2011 (19.0 KB)
  3. 2.0.1 - January 23, 2011 (18.5 KB)
  4. 2.0.0 - January 23, 2011 (18.5 KB)
  5. 1.0.5 - October 21, 2010 (7.0 KB)
显示所有版本 (共 10 个)

业主:

作者:

  • Philippe Cantin

SHA 256 校验和:

af694bc482e9fb95ed6578c439808efc3abe642fd0817406519156c1809a314d

下载总量 34,722

这个版本 3,758

许可:

需要的 Ruby 版本:

链接: