Skip to content

Instantly share code, notes, and snippets.

@arturdent
Created November 28, 2012 16:32
Show Gist options
  • Save arturdent/4162384 to your computer and use it in GitHub Desktop.
Save arturdent/4162384 to your computer and use it in GitHub Desktop.
let!(:account) { Account.make! :user => $user }
let!(:card) { Card.make! :account => account, :state => 'active' }
=>(card.reissue_request.request)
#<Request id: 1, user_id: 1, data_id: 1, data_type: "Requests::CardReissue", state: "in_progress", sms_enabled: true, unread: true, messages_count: nil, created_at: "2012-11-28 16:27:04", updated_at: "2012-11-28 16:27:04">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment