Sha256: c4a8ef6a4bbca54b476294973be400cb33b23dbfe0c19e11f4c7726999d9f2fb
Contents?: true
Size: 532 Bytes
Versions: 6
Compression:
Stored size: 532 Bytes
Contents
# -*- coding: utf-8 -*- require 'turnip_formatter/step' require 'turnip_formatter/step/dsl' module TurnipFormatter class Step module Pending extend DSL def self.status :pending end def status Pending.status end end end end TurnipFormatter::Step::Pending.add_template :exception do message = example.execution_result[:pending_message] exception = RSpec::Core::Pending::PendingDeclaredInExample.new(message) exception.set_backtrace(example.location) exception end
Version data entries
6 entries across 6 versions & 1 rubygems