Sha256: f90d543b562a8e4d348c9c20ba8e7de94475d3e453db2ff21fb72efe6d49a6af
Contents?: true
Size: 583 Bytes
Versions: 58
Compression:
Stored size: 583 Bytes
Contents
Factory.define :clients do |c| c.add_attribute :device_type => 'Apple', c.add_attribute :device_pin => 'abcd', c.add_attribute :user_id => {|u| u.id } c.add_attribute :device_port => '3333', c.add_attribute :app_id => {|a| a.id }, c.add_attriubte :source_name => 'SampleAdapter' end Factory.define :sources do |s| s.name :name => 'SampleAdapter', s.url :url => 'http://example.com', s.login :login => 'testuser', s.password :password => 'testpass', s.app_id :app_id => {|a| a.id } s.user_id :user_id => {|u| u.id } end
Version data entries
58 entries across 58 versions & 1 rubygems