RubyGems Navigation menu

factory_boy 2.0.3

Version 2.0.2 is compatible with ActiveRecord < 3.1 Version 2.0.3+ is compatible with ActiveRecord >= 3.1 ------ 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. Compatible ruby 1.9.3.

バージョン履歴:

  1. 2.0.3 - October 14, 2012 (19.5KB)
  2. 2.0.2 - April 29, 2011 (19KB)
  3. 2.0.1 - January 23, 2011 (18.5KB)
  4. 2.0.0 - January 23, 2011 (18.5KB)
  5. 1.0.5 - October 21, 2010 (7KB)
全てのバージョンを表示 (全10項目)

オーナー:

作者:

  • Philippe Cantin

SHA 256チェックサム:

cfcf10a9d662b2d0cab2be88e4677d8a462c45fe908730c77959119582e4ba62

累計ダウンロード数 22,553

現行バージョン 2,614

Gemfile:
= クリップボードにコピー コピー完了!

インストール:
=

ライセンスs:

N/A

必要Rubyバージョン: なし

リンク集: