Sha256: 5fe40b91f23694edd787d8b2ec71afc45df2ca622d06c77b63f432f551a396e6

Contents?: true

Size: 456 Bytes

Versions: 5

Compression:

Stored size: 456 Bytes

Contents

require_relative '../../../spec_helper'
require_relative 'yield_help_string'

shared_examples 'motif list is empty' do
  context  'motif list is empty' do
    Given(:motif_list) { [] }
    
    context 'with options' do
      Given(:options) { '--formatter default  --silent' }
      include_examples 'yield help string'
    end
    
    context 'without options' do
      Given(:options){ '' }
      include_examples 'yield help string'
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bioinform-0.3.1 spec/cli/shared_examples/convert_motif/motif_list_empty.rb
bioinform-0.3.0 spec/cli/shared_examples/convert_motif/motif_list_empty.rb
bioinform-0.2.2 spec/cli/shared_examples/convert_motif/motif_list_empty.rb
bioinform-0.2.1 spec/cli/shared_examples/convert_motif/motif_list_empty.rb
bioinform-0.2.0 spec/cli/shared_examples/convert_motif/motif_list_empty.rb