Sha256: 566c937afd3047f5206107fc64f7741150d50169226fdbb6540f73610c200b21
Contents?: true
Size: 645 Bytes
Versions: 17
Compression:
Stored size: 645 Bytes
Contents
FactoryGirl.define do factory :wallet, class: BitWallet::Wallet do initialize_with { BitWallet::Wallet.new(Config.slice(:username, :password, :port)) } end factory :account, class: BitWallet::Account do ignore do wallet { build(:wallet) } name { 'name' } end initialize_with { BitWallet::Account.new(wallet, name) } end factory :address, class: BitWallet::Address do ignore do account { build(:account) } end initialize_with { BitWallet::Address.new(account) } end end
Version data entries
17 entries across 17 versions & 1 rubygems