From 4851a7aad349145d2cd01867ac396a2645b776f2 Mon Sep 17 00:00:00 2001 From: Andrew Cantino Date: Sat, 7 Sep 2013 17:49:00 -0700 Subject: [PATCH] fix spec --- spec/models/agents/human_task_agent_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/models/agents/human_task_agent_spec.rb b/spec/models/agents/human_task_agent_spec.rb index 0b154316..8f9c6689 100644 --- a/spec/models/agents/human_task_agent_spec.rb +++ b/spec/models/agents/human_task_agent_spec.rb @@ -112,6 +112,7 @@ describe Agents::HumanTaskAgent do @checker.options[:take_majority] = "true" @checker.should_not be_valid @checker.options[:hit][:questions][1][:type] = "selection" + @checker.options[:hit][:questions][1][:selections] = @checker.options[:hit][:questions][0][:selections] @checker.should be_valid end end