Added authlogic and user schema
This commit is contained in:
parent
a9b7e50209
commit
3b056a2db8
6 changed files with 46 additions and 1 deletions
13
test/models/user_test.rb
Normal file
13
test/models/user_test.rb
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
require "test_helper"
|
||||
|
||||
class UserTest < ActiveSupport::TestCase
|
||||
|
||||
def user
|
||||
@user ||= User.new
|
||||
end
|
||||
|
||||
def test_valid
|
||||
assert user.valid?
|
||||
end
|
||||
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue