Sha256: 291a173a849cae8e0057a08adb3c5a4925e28b6f0b3cca40e8b932975b537b6d

Contents?: true

Size: 397 Bytes

Versions: 1

Compression:

Stored size: 397 Bytes

Contents

# -*- coding: utf-8 -*-

module TurnipFormatter
  class Step
    module Pending
      def attention?
        true
      end

      def attention(message, location)
        exception = RSpec::Core::Pending::PendingDeclaredInExample.new(message)
        exception.set_backtrace(location)
        docs[:exception] = exception
      end

      def status
        'pending'
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
turnip_formatter-0.0.1 lib/turnip_formatter/step/pending.rb