Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (12 sloc) 0.348 kb
require 'test_helper'
class AuthenticatesManyTest < ActiveSupport::TestCase
def test_scoping
zack = users(:zack)
ben = users(:ben)
binary_logic = companies(:binary_logic)
set_session_for(zack)
assert !binary_logic.user_sessions.find
set_session_for(ben)
assert binary_logic.user_sessions.find
end
end
Jump to Line
Something went wrong with that request. Please try again.