spec/support/feature_support.rb in curate-0.1.3 vs spec/support/feature_support.rb in curate-0.2.0

- old
+ new

@@ -1,6 +1,9 @@ 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