Displaying 1 result from an estimated 1 matches for "valid_ord".
Did you mean:
  valid_id
  
2006 Apr 17
2
binary info in test fixtures?
...it card number is encrypted and stored
in the db (mysql) as a BLOB field. When trying to run my unit tests, I
cannot get my model fixtures to load the encrypted data.
If, in my dynamic fixture (YAML) file, I could have access to my app''s
models, the problem would be trivial.. instead of:
valid_order:
    id: 1
    storefront_id: 1
    total_charge: 50.00
    tax_charge: 5.00
    ship_charge: 10.00
...
    payment_number: 4111111111111111
(which doesn''t work), I could insert:
valid_order:
    id: 1
    storefront_id: 1
    total_charge: 50.00
    tax_charge: 5.00
    ship_charge: 1...