Sha256: 46335e402a107522fb29f978ec57504e7e68e28602a64baa1477d9c6e959f45b

Contents?: true

Size: 455 Bytes

Versions: 5

Compression:

Stored size: 455 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.1.17 spec/cli/shared_examples/convert_motif/motif_list_empty.rb
bioinform-0.1.16 spec/cli/shared_examples/convert_motif/motif_list_empty.rb
bioinform-0.1.15 spec/cli/shared_examples/convert_motif/motif_list_empty.rb
bioinform-0.1.14 spec/cli/shared_examples/convert_motif/motif_list_empty.rb
bioinform-0.1.13 spec/cli/shared_examples/convert_motif/motif_list_empty.rb