Sha256: 36917a7fb13874d8ffe348e5d30a0b4308b8d4c4dc9c65b9ba18af0c796fa0fc

Contents?: true

Size: 308 Bytes

Versions: 3

Compression:

Stored size: 308 Bytes

Contents

FactoryGirl.define do

  factory :source do
    sequence(:code) { |n| "QUANDL_CLIENT_#{(Time.now.to_f * 1000).to_i}_#{n}" }
    name "Quandl Client Source"
    description "Quandl Client Source Spec"
    sequence(:host) { |n| "http://quandl.com/host/#{(Time.now.to_f * 1000).to_i}_#{n}" }
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
quandl_client-2.7.11 spec/factories/source.rb
quandl_client-2.7.5 spec/factories/source.rb
quandl_client-2.7.4 spec/factories/source.rb