api: Give all Job fixtures script_versions.
authorBrett Smith <brett@curoverse.com>
Wed, 9 Apr 2014 19:34:16 +0000 (15:34 -0400)
committerBrett Smith <brett@curoverse.com>
Wed, 9 Apr 2014 19:34:16 +0000 (15:34 -0400)
Workbench tries to call to_sym on these versions, and hiccups if it's
nil.  This makes it easier to run integration tests, whether
automatically or by hand.

services/api/test/fixtures/jobs.yml

index edc64bdf48d4991552772e351e11c5c5b74832bc..a349229b4504151bf38c484bbfa8573dc334dd35 100644 (file)
@@ -6,6 +6,7 @@ running:
   cancelled_by_client_uuid: ~
   started_at: <%= 3.minute.ago.to_s(:db) %>
   finished_at: ~
+  script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
   running: true
   success: ~
   output: ~
@@ -27,6 +28,7 @@ running_cancelled:
   cancelled_by_client_uuid: zzzzz-ozdt8-obw7foaks3qjyej
   started_at: <%= 3.minute.ago.to_s(:db) %>
   finished_at: ~
+  script_version: 1de84a854e2b440dc53bf42f8548afa4c17da332
   running: true
   success: ~
   output: ~