spec/factories/source.rb in quandl_client-2.7.11 vs spec/factories/source.rb in quandl_client-2.7.12

- old
+ new

@@ -1,10 +1,10 @@ -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 - +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 \ No newline at end of file