codecombat/test/app/fixtures/classrooms.coffee
2016-04-04 15:19:27 -07:00

40 lines
752 B
CoffeeScript

Classroom = require 'models/Classroom';
Classrooms = require 'collections/Classrooms';
module.exports = new Classrooms([
{
_id: "classroom0",
name: "Teacher Zero's Other Classroom"
ownerID: "teacher0",
aceConfig:
language: 'python'
members: []
}
{
_id: "classroom1",
name: "Teacher Zero's Classroomiest Classroom"
members: [
"student0",
"student1",
"student2",
"student3",
],
ownerID: "teacher0",
aceConfig:
language: 'python'
}
{
_id: "classroom_archived",
name: "Teacher Zero's Archived Classroom"
members: [
"student0",
"student4",
],
ownerID: "teacher0",
aceConfig:
language: 'python'
archived: true
}
])