Sha256: 46187d34522f8147714cf9f93a62b1fb07d703bd6c962c2d40c31bb04bdc0279

Contents?: true

Size: 663 Bytes

Versions: 3

Compression:

Stored size: 663 Bytes

Contents

require 'spec_helper'

module TurnipFormatter
  class Step
    describe Failure do
      include_context 'turnip_formatter standard step parameters'
      include_context 'turnip_formatter scenario setup'
      include_context 'turnip_formatter passed scenario metadata'

      let(:step) do
        step = ::TurnipFormatter::Step.new(example, description)
        step.extend TurnipFormatter::Step::Pending
        step
      end

      describe '#attention?' do
        subject { step.attention? }
        it { should be_true }
      end

      describe '#status' do
        subject { step.status }
        it { should eq :pending }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
turnip_formatter-0.0.4 spec/turnip_formatter/step/pending_spec.rb
turnip_formatter-0.0.3 spec/turnip_formatter/step/pending_spec.rb
turnip_formatter-0.0.2 spec/turnip_formatter/step/pending_spec.rb