Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

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

configured_item:
  family: dylan_family
  name: "SnapTrade Connection"
  oauth_access_token: "test-access-token"
  oauth_refresh_token: "test-refresh-token"
  oauth_token_type: "Bearer"
  oauth_scope: "read"
  oauth_token_expires_at: <%= 1.hour.from_now %>
  status: good
  scheduled_for_deletion: false
  pending_account_setup: false

# Item that has never completed the OAuth flow (no tokens)
unauthorized_item:
  family: empty
  name: "Unauthorized SnapTrade"
  status: requires_update
  scheduled_for_deletion: false
  pending_account_setup: true