Sha256: 46050c66eec23bca5e3e7be9cf7e6e56e19e4c4a99766d6e2e0bbefa646a3c33

Contents?: true

Size: 126 Bytes

Versions: 22

Compression:

Stored size: 126 Bytes

Contents

module SignInHelper
  def sign_in(user = create(:user))
    controller.instance_variable_set(:@_current_user, user)
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
kuroko2-0.2.1 spec/support/sign_in_helper.rb
kuroko2-0.2.0 spec/support/sign_in_helper.rb