import test from "ava"
import User from "./../../../../src/app/models/user"

test("forging instance", t => {
  t.not(User.forge(), null)
})

test("uuid property", t => {
  t.not(User.forge().uuid, null)
})

import test from "ava"
import User from "./../../../../src/app/models/user"

test("tableName method", t => {
  t.is(User.forge().tableName, "users")
})

test("hasTimestamps method", t => {
  t.true(User.forge().hasTimestamps)
})

test user members