You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

runtime_spec.rb 603 B

2 years ago
123456789101112131415161718192021222324
  1. # frozen_string_literal: true
  2. require 'spec_helper'
  3. module Cucumber
  4. describe Runtime do
  5. subject { Runtime.new(options) }
  6. let(:options) { {} }
  7. describe '#features_paths' do
  8. let(:options) { { paths: ['foo/bar/baz.feature', 'foo/bar/features/baz.feature', 'other_features'] } }
  9. it 'returns the value from configuration.paths' do
  10. expect(subject.features_paths).to eq options[:paths]
  11. end
  12. end
  13. describe '#doc_string' do
  14. it 'is creates an object equal to a string' do
  15. expect(subject.doc_string('Text')).to eq 'Text'
  16. end
  17. end
  18. end
  19. end

No Description

Contributors (1)