Sha256: bc5a38e7ada3d8859358999232b53847d8c689f7ade9088476d2020fdb90ba39

Contents?: true

Size: 533 Bytes

Versions: 3

Compression:

Stored size: 533 Bytes

Contents

# frozen_string_literal: true
require 'spec_helper'

module Cucumber
  describe Runtime do
    subject { Runtime.new(options) }
    let(:options) { {} }

    describe '#features_paths' do
      let(:options) { {:paths => ['foo/bar/baz.feature', 'foo/bar/features/baz.feature', 'other_features'] } }

      it 'returns the value from configuration.paths' do
        expect(subject.features_paths).to eq options[:paths]
      end
    end

    it '#doc_string' do
      expect(subject.doc_string('Text')).to eq 'Text'
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cucumber-3.0.1 spec/cucumber/runtime_spec.rb
cucumber-3.0.0 spec/cucumber/runtime_spec.rb
cucumber-3.0.0.pre.2 spec/cucumber/runtime_spec.rb