require 'rails_helper' RSpec.describe Training, type: :model do describe 'create' do it 'is success with name' it 'is invalid without name' it 'should auto generate slug by name' end it 'can associate many machines' it 'can return a user list that valided by traning' it 'should return an amount by user group' it 'should can add a number place' end