Module: Decko::RestSpecMethods
- Defined in:
- lib/decko/rest_spec_helper.rb
Overview
for use in REST API specs
Instance Method Summary collapse
Instance Method Details
#with_token_for(usermark) {|Card[usermark].account.reset_token| ... } ⇒ Object
6 7 8 |
# File 'lib/decko/rest_spec_helper.rb', line 6 def with_token_for usermark yield Card[usermark].account.reset_token end |