1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-26 15:52:20 +01:00
fab-manager/spec/models/machine_spec.rb
2015-05-05 03:10:25 +02:00

22 lines
485 B
Ruby

require 'rails_helper'
RSpec.describe Machine, type: :model do
describe 'create' do
it 'is success with name, image, description and spec'
it 'is invalid without name'
it 'is invalid without image'
it 'is invalid without description'
it 'is invalid without spec'
it 'should auto generate slug by name'
end
it 'can have many machine files'
it 'can have many projects'
it 'can have many trainings'
it 'should return an amount by user group'
end