11 lines
172 B
Ruby
11 lines
172 B
Ruby
require "test_helper"
|
|
|
|
class UserTest < ActiveSupport::TestCase
|
|
setup do
|
|
@user = users(:one)
|
|
end
|
|
|
|
def test_registered_true
|
|
assert @user.registered?
|
|
end
|
|
end
|