Sha256: ab1f6dd3eedaedf4a45039200f096c57185f20b6acbfcf6f1b255e4e00bbfd48

Contents?: true

Size: 503 Bytes

Versions: 11

Compression:

Stored size: 503 Bytes

Contents

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

11 entries across 11 versions & 2 rubygems

Version Path
cucumber-2.99.0 spec/cucumber/runtime_spec.rb
mobiusloop-0.1.5 spec/cucumber/runtime_spec.rb
cucumber-2.4.0 spec/cucumber/runtime_spec.rb
mobiusloop-0.1.3 spec/cucumber/runtime_spec.rb
mobiusloop-0.1.2 spec/cucumber/runtime_spec.rb
cucumber-2.3.3 spec/cucumber/runtime_spec.rb
cucumber-2.3.2 spec/cucumber/runtime_spec.rb
cucumber-2.3.1 spec/cucumber/runtime_spec.rb
cucumber-2.3.0 spec/cucumber/runtime_spec.rb
cucumber-2.2.0 spec/cucumber/runtime_spec.rb
cucumber-2.1.0 spec/cucumber/runtime_spec.rb