Sha256: d617ea978b21b5aeeda3c3c61d8ebb2112db6f89e9edb1fbd0288ad1b6a59002
Contents?: true
Size: 215 Bytes
Versions: 3
Compression:
Stored size: 215 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 def logout(user=:user) super(user) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
curate-0.3.2 | spec/support/feature_support.rb |
curate-0.3.1 | spec/support/feature_support.rb |
curate-0.2.0 | spec/support/feature_support.rb |