diff --git a/test/fixtures/submissions.yml b/test/fixtures/submissions.yml --- a/test/fixtures/submissions.yml +++ b/test/fixtures/submissions.yml @@ -1,10 +1,11 @@ # Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html add1_by_admin: - id: 1 user: admin problem: prob_add language: Language_c + submitted_at: "2019-10-22 08:34" source: + xxx \#include \#include int main() { @@ -12,10 +13,10 @@ } sub1_by_admin: - id: 2 user: admin problem: prob_sub language: Language_c + submitted_at: "2019-10-22 08:34" source: \#include \#include @@ -24,10 +25,22 @@ } add1_by_john: - id: 3 user: john problem: prob_add language: Language_c + submitted_at: "2019-10-22 08:34" + source: + \#include + \#include + int main() { + cout << 33 << endl; + } + +add1_by_james: + user: james + problem: prob_add + language: Language_c + submitted_at: "2019-10-22 08:34" source: \#include \#include @@ -36,10 +49,10 @@ } sub1_by_james: - id: 4 user: james problem: prob_sub language: Language_c + submitted_at: "2019-10-22 08:34" source: \#include \#include