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.8.0 spec/support/sign_in_helper.rb
kuroko2-0.7.0 spec/support/sign_in_helper.rb
kuroko2-0.6.0 spec/support/sign_in_helper.rb
kuroko2-0.5.2 spec/support/sign_in_helper.rb
kuroko2-0.5.1 spec/support/sign_in_helper.rb
kuroko2-0.5.0 spec/support/sign_in_helper.rb
kuroko2-0.4.6 spec/support/sign_in_helper.rb
kuroko2-0.4.5 spec/support/sign_in_helper.rb
kuroko2-0.4.4 spec/support/sign_in_helper.rb
kuroko2-0.4.3 spec/support/sign_in_helper.rb
kuroko2-0.4.2 spec/support/sign_in_helper.rb
kuroko2-0.4.1 spec/support/sign_in_helper.rb
kuroko2-0.4.0 spec/support/sign_in_helper.rb
kuroko2-0.3.4 spec/support/sign_in_helper.rb
kuroko2-0.3.3 spec/support/sign_in_helper.rb
kuroko2-0.3.2 spec/support/sign_in_helper.rb
kuroko2-0.3.1 spec/support/sign_in_helper.rb
kuroko2-0.3.0 spec/support/sign_in_helper.rb
kuroko2-0.2.3 spec/support/sign_in_helper.rb
kuroko2-0.2.2 spec/support/sign_in_helper.rb