lib/cm_quiz/factory/idea.rb in cm_quiz-0.0.2 vs lib/cm_quiz/factory/idea.rb in cm_quiz-0.0.3

- old
+ new

@@ -24,9 +24,11 @@ body: default_idea_params.merge(@idea_params) } res = @project_api.request(:post, '/ideas', options) JSON.parse(res.body) + rescue => e + raise StandardError, "Create test idea failed, reason: #{e.message}" end end end end