Sha256: 1c768405d4fe85e0651f6b3b85b9928e0c66ab99441042668d4ba1a9f5ef5ea3

Contents?: true

Size: 230 Bytes

Versions: 5

Compression:

Stored size: 230 Bytes

Contents

require 'securerandom'

FactoryGirl.define do
  factory :request_token_response, class: ApiResource do
    expires_at { (Time.now + (60 * 60 * 24 * 10)).utc.to_s }
    request_token { SecureRandom.hex }
    success true
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
enceladus-0.0.8 spec/factories/request_tokens.rb
enceladus-0.0.7 spec/factories/request_tokens.rb
enceladus-0.0.6 spec/factories/request_tokens.rb
enceladus-0.0.5 spec/factories/request_tokens.rb
enceladus-0.0.4 spec/factories/request_tokens.rb