mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
18 lines
366 B
Ruby
18 lines
366 B
Ruby
require 'rails_helper'
|
|
|
|
RSpec.describe Availability, type: :model do
|
|
|
|
describe 'create' do
|
|
it 'is success with start at, end at and type'
|
|
it 'is invalid without start at'
|
|
it 'is invalid without end at'
|
|
it 'is invalid without type'
|
|
it 'is invalid type isnt in [event]'
|
|
end
|
|
|
|
it 'should get a title'
|
|
|
|
it 'should set a number of places'
|
|
|
|
end
|