FullCalendarFormatter spec init

This commit is contained in:
Ziyi 2021-04-24 19:30:52 -07:00
parent 147b7f4939
commit 54d7c31cac
3 changed files with 19 additions and 2 deletions

View file

@ -0,0 +1,14 @@
# frozen_string_literal: true
require 'spec_helper'
describe FullCalendarFormatter do
let!(:room0) { create(:room) }
let!(:room1) { create(:room) }
describe 'JSON formatting for FullCalendar' do
it 'translates rooms to resources' do
room_list = [room1, room2] # TODO
end
end
end