Sha256: 31d0f5357b347987ecbae99edddc67248281ad20b5df5b8f480ad8b3c9e6e319

Contents?: true

Size: 632 Bytes

Versions: 3

Compression:

Stored size: 632 Bytes

Contents

require 'spec_helper'

module TurnipFormatter
  describe Step do
    include_context 'turnip_formatter standard step parameters'
    include_context 'turnip_formatter scenario setup'
    include_context 'turnip_formatter passed scenario metadata'
    let(:step) { ::TurnipFormatter::Step.new(example, description) }

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

    describe '#name' do
      subject { step.name }
      it { should eq('KeywordStepName') }
    end

    describe '#docs' do
      subject { step.docs }
      it { should include :extra_args }
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
turnip_formatter-0.0.4 spec/turnip_formatter/step_spec.rb
turnip_formatter-0.0.3 spec/turnip_formatter/step_spec.rb
turnip_formatter-0.0.2 spec/turnip_formatter/step_spec.rb