Sha256: 67101a6c40743a1ce53d375e46af9a0bcd108f19d5e96edfee46f6d6d504929f
Contents?: true
Size: 168 Bytes
Versions: 2
Compression:
Stored size: 168 Bytes
Contents
module FeatureSupport def login_as(user) user.reload # because the user isn't re-queried via Warden super(user, scope: :user, run_callbacks: false) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
curate-0.1.3 | spec/support/feature_support.rb |
curate-0.1.2 | spec/support/feature_support.rb |