Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby
1.2 KB
Raw Blame
# Minimal fixtures for Trading212 items
# Per CLAUDE.md: Keep fixtures minimal (2-3 per model for base cases)

configured_item:
  family: dylan_family
  name: "Trading 212 Connection"
  status: good
  environment: live
  currency: USD
  scheduled_for_deletion: false
  pending_account_setup: false
  api_key: "test_api_key"
  api_secret: "test_api_secret"
  raw_instruments_payload: []

pending_setup_item:
  family: dylan_family
  name: "Trading 212 Setup Pending"
  status: good
  environment: live
  currency: USD
  scheduled_for_deletion: false
  pending_account_setup: true
  api_key: "test_api_key_pending"
  api_secret: "test_api_secret_pending"
  raw_instruments_payload: []

requires_update_item:
  family: dylan_family
  name: "Trading 212 Needs Update"
  status: requires_update
  environment: live
  currency: USD
  scheduled_for_deletion: false
  pending_account_setup: false
  api_key: "bad_key"
  api_secret: "bad_secret"
  raw_instruments_payload: []

no_credentials_item:
  family: dylan_family
  name: "Trading 212 No Credentials"
  status: good
  environment: demo
  currency: USD
  scheduled_for_deletion: false
  pending_account_setup: true
  # api_key and api_secret intentionally blank
  raw_instruments_payload: []