# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html

roy1:
  candidate: roy
  question: fed1
  answer: option2
  saved: 0
  submitted: true
  created_at: <%= DateTime.now() - 90.minutes %>
  updated_at: <%= DateTime.now() - 90.minutes %>

roy2:
  candidate: roy
  question: fed2
  answer: ["option-1", "option-4", "option5"]
  saved: 1
  submitted: true
  created_at: <%= DateTime.now() - 85.minutes %>
  updated_at: <%= DateTime.now() - 85.minutes %>

dawn1:
  candidate: dawn
  question: fed1
  answer: option-1
  saved: 0
  submitted: true
  created_at: <%= DateTime.now() - 38.hours - 50.minutes %>
  updated_at: <%= DateTime.now() - 38.hours - 50.minutes %>

dawn2:
  candidate: dawn
  question: fed2
  answer: ["option2", "option-4"]
  saved: 0
  submitted: true
  created_at: <%= DateTime.now() - 38.hours - 50.minutes %>
  updated_at: <%= DateTime.now() - 38.hours - 50.minutes %>

dawn3:
  candidate: dawn
  question: fed3
  answer: {html: "<h1>I'm a little tealpot</h1>", css: 'h1 {color: teal;}', js: ''}
  saved: 0
  submitted: true
  created_at: <%= DateTime.now() - 38.hours - 50.minutes %>
  updated_at: <%= DateTime.now() - 38.hours - 50.minutes %>

dawn4:
  candidate: dawn
  question: fed4
  answer: Vestibulum id ligula porta felis euismod semper. Sed posuere consectetur est at lobortis.
  saved: 0
  submitted: true
  created_at: <%= DateTime.now() - 38.hours - 50.minutes %>
  updated_at: <%= DateTime.now() - 38.hours - 50.minutes %>

dawn5:
  candidate: dawn
  question: fed5
  answer: "option 3"
  saved: 0
  submitted: true
  created_at: <%= DateTime.now() - 38.hours - 50.minutes %>
  updated_at: <%= DateTime.now() - 38.hours - 50.minutes %>

dawn6:
  candidate: dawn
  question: fed6
  answer: Integer posuere erat a ante venenatis dapibus posuere velit aliquet.
  saved: 0
  submitted: true
  created_at: <%= DateTime.now() - 38.hours - 32.minutes %>
  updated_at: <%= DateTime.now() - 38.hours - 12.minutes %>

dawn7:
  candidate: dawn
  question: fed7
  answer: {html: '<p>This means <strong>jQuery</strong> needs to be available in live-coder!</p>', css: "strong {font-size: 1.6em;}\n.green {color: green;}", js: '$("strong").addClass("green");'}
  saved: 0
  submitted: true
  created_at: <%= DateTime.now() - 38.hours - 34.minutes %>
  updated_at: <%= DateTime.now() - 38.hours - 14.minutes %>

dawn8:
  candidate: dawn
  question: fed8
  answer: option2
  saved: 0
  submitted: true
  created_at: <%= DateTime.now() - 38.hours - 38.minutes %>
  updated_at: <%= DateTime.now() - 38.hours - 16.minutes %>

dawn9:
  candidate: dawn
  question: fed9
  answer: Grunt
  saved: 0
  submitted: true
  created_at: <%= DateTime.now() - 38.hours - 38.minutes %>
  updated_at: <%= DateTime.now() - 38.hours - 18.minutes %>

dawn10:
  candidate: dawn
  question: fed10
  answer:
  saved: 1
  submitted: true
  created_at: <%= DateTime.now() - 38.hours - 40.minutes %>
  updated_at: <%= DateTime.now() - 38.hours - 20.minutes %>

richard1:
  candidate: richard
  question: fed1
  answer: option 3
  saved: 0
  submitted: true
  created_at: <%= DateTime.now() - 36.hours - 22.minutes %>
  updated_at: <%= DateTime.now() - 36.hours - 22.minutes %>

richard2:
  candidate: richard
  question: fed2
  answer: [option-1, option2, option5]
  saved: 0
  submitted: true
  created_at: <%= DateTime.now() - 36.hours - 24.minutes %>
  updated_at: <%= DateTime.now() - 36.hours - 4.minutes %>

richard3:
  candidate: richard
  question: fed3
  answer: {html: '<h1>Salmon</h1>', css: 'h1 {color: salmon;}', js: ''}
  saved: 0
  submitted: true
  created_at: <%= DateTime.now() - 36.hours - 26.minutes %>
  updated_at: <%= DateTime.now() - 36.hours - 6.minutes %>

richard4:
  candidate: richard
  question: fed4
  answer: Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus.
  saved: 0
  submitted: true
  created_at: <%= DateTime.now() - 36.hours - 28.minutes %>
  updated_at: <%= DateTime.now() - 36.hours - 28.minutes %>

richard5:
  candidate: richard
  question: fed5
  answer: option-1
  saved: 0
  submitted: true
  created_at: <%= DateTime.now() - 36.hours - 30.minutes %>
  updated_at: <%= DateTime.now() - 36.hours - 30.minutes %>

richard6:
  candidate: richard
  question: fed6
  answer: Integer posuere erat a ante venenatis dapibus posuere velit aliquet.
  saved: 0
  submitted: true
  created_at: <%= DateTime.now() - 36.hours - 32.minutes %>
  updated_at: <%= DateTime.now() - 36.hours - 12.minutes %>

richard7:
  candidate: richard
  question: fed7
  answer: {html: '<p>This means <strong>jQuery</strong> needs to be available in live-coder!</p>', css: "strong {font-size: 1.6em;}\n.green {color: green;}", js: '$("strong").addClass("green");'}
  saved: 0
  submitted: true
  created_at: <%= DateTime.now() - 36.hours - 34.minutes %>
  updated_at: <%= DateTime.now() - 36.hours - 14.minutes %>

richard8:
  candidate: richard
  question: fed8
  answer: option2
  saved: 0
  submitted: true
  created_at: <%= DateTime.now() - 36.hours - 36.minutes %>
  updated_at: <%= DateTime.now() - 36.hours - 16.minutes %>

richard9:
  candidate: richard
  question: fed9
  answer: Grunt
  saved: 0
  submitted: true
  created_at: <%= DateTime.now() - 36.hours - 38.minutes %>
  updated_at: <%= DateTime.now() - 36.hours - 18.minutes %>

richard10:
  candidate: richard
  question: fed10
  answer: ["Live long and prosper", "Who you calling Scruffy?"]
  saved: 0
  submitted: true
  created_at: <%= DateTime.now() - 36.hours - 40.minutes %>
  updated_at: <%= DateTime.now() - 36.hours - 20.minutes %>

