spec/resource_spec.rb in survey-gizmo-ruby-6.3.0 vs spec/resource_spec.rb in survey-gizmo-ruby-6.3.1
- old
+ new
@@ -261,11 +261,12 @@
'[question(10), question_pipe("Que aplicación")]' => '5 = Extremely important',
'[question(11), question_pipe(10527)]' => 'This product was too expensive',
# Sometimes surveygizmo only includes the option with the "other" answer. =(
'[question(12)]' => 'Other - Please explain',
'[question(12), option("10017-other")]' => 'I understood...',
- '[question(13), option(0)]' => '12345'
+ '[question(13), option(0)]' => '12345',
+ '[question(14), question_pipe(""dérivation" du "ronron" du cerveau")]' => '5 = Extremely important'
}
end
it 'should propagate time, survey_id, and response_id' do
response = described_class.new(
@@ -284,10 +285,12 @@
{ survey_id: 1, question_id: 8, answer_text: 'false' },
{ survey_id: 1, question_id: 9, option_id: 10002 },
{ survey_id: 1, question_id: 10, question_pipe: 'Que aplicación', answer_text: '5 = Extremely important' },
{ survey_id: 1, question_id: 11, question_pipe: '10527', answer_text: 'This product was too expensive' },
{ survey_id: 1, question_id: 12, option_id: 10017, other_text: 'I understood...' },
- { survey_id: 1, question_id: 13, answer_text: '12345' }
+ { survey_id: 1, question_id: 13, answer_text: '12345' },
+ { survey_id: 1, question_id: 14, question_pipe: '"dérivation" du "ronron" du cerveau', answer_text: '5 = Extremely important' }
+
])
end
end
end