Sha256: e31d27e9898f933a3147323229f9ddffc3efbb10a99510afdd03bab739ebc5ee
Contents?: true
Size: 632 Bytes
Versions: 2
Compression:
Stored size: 632 Bytes
Contents
require 'cm_quiz/review_helper' module CmQuiz module Review class BaseReview include ReviewHelper def perform run build_test_result(test_request) rescue RSpec::Expectations::ExpectationNotMetError => e build_test_result(test_request, false, e.message) rescue => e build_test_result(test_request, false, e.message) end def run raise "Method `run` should be implemented on class #{self.class}" end def test_request { verb: @verb, path: @path, options: @options } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cm_quiz-0.0.2 | lib/cm_quiz/review/base_review.rb |
cm_quiz-0.0.1 | lib/cm_quiz/review/base_review.rb |