Opt-in to Current fully (#297)

This commit is contained in:
Dwight Watson
2024-02-05 10:36:46 +11:00
committed by GitHub
parent 23eaa3e066
commit d61a22b070
8 changed files with 24 additions and 23 deletions

View File

@@ -0,0 +1,9 @@
require "test_helper"
class CurrentTest < ActiveSupport::TestCase
test "family returns user family" do
user = users(:bob)
Current.user = user
assert_equal user.family, Current.family
end
end