import moment from 'moment';
import { Factory } from 'ember-cli-mirage';
import { AVAILABLE } from 'web-client/models/event';

export default Factory.extend({
  start_time() {
    return moment().toJSON();
  },

  end_time() {
    return moment().add(2, 'hours');
  },

  time_zone_id() {
    return 'America/Los_Angeles';
  },

  title(i) {
    return `Event Title ${i}`;
  },

  description(i) {
    return `Event description ${i}`;
  },

  status() {
    return AVAILABLE;
  }
});
