Sha256: 882eef06b864866d7cf4803fbd27847e69d0a15ebc785b1b87f21755df6dcb8c

Contents?: true

Size: 413 Bytes

Versions: 2

Compression:

Stored size: 413 Bytes

Contents

FactoryGirl.define do
  factory :account, class: LtiAccount do
    sequence :name do |n|
      "Account #{n}"
    end

    sequence :key do |n|
      "Key #{n}"
    end

    sequence :secret do |n|
      "Account #{n}"
    end

    oauth2_client_id "1234"
    oauth2_client_key "thisisadeveloperkey"
    settings { {base_url: "http://localhost:3000", account_admin_api_token: "9q2083uy4poiahjfgpoawy"} }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
coalescing_panda-3.0.1 spec/factories/accounts.rb
coalescing_panda-3.0.0 spec/factories/accounts.rb