Sha256: 2371815d7109228b7fff5702bbed7364d98ee466d7ddd9ba842f1c6bde9e3f62

Contents?: true

Size: 417 Bytes

Versions: 19

Compression:

Stored size: 417 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe Sinclair::OptionsParser do
  describe 'yard' do
    subject(:model) { described_class::Dummy.new(options) }

    let(:options) { { switch: false, option_1: 10, option_2: 20 } }

    describe '#the_method' do
      it 'returns the value for option given' do
        expect(model.the_method).to eq('The value is not 10 but 20')
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
sinclair-1.6.5 spec/integration/yard/sinclair/options_parser_spec.rb
sinclair-1.6.4 spec/integration/yard/sinclair/options_parser_spec.rb
sinclair-1.6.3 spec/integration/yard/sinclair/options_parser_spec.rb
sinclair-1.6.2 spec/integration/yard/sinclair/options_parser_spec.rb
sinclair-1.6.1 spec/integration/yard/sinclair/options_parser_spec.rb
sinclair-1.6.0 spec/integration/yard/sinclair/options_parser_spec.rb
sinclair-1.5.2 spec/integration/yard/sinclair/options_parser_spec.rb
sinclair-1.5.1 spec/integration/yard/sinclair/options_parser_spec.rb
sinclair-1.5.0 spec/integration/yard/sinclair/options_parser_spec.rb
sinclair-1.4.2 spec/integration/yard/sinclair/options_parser_spec.rb
sinclair-1.4.1 spec/integration/yard/sinclair/options_parser_spec.rb
sinclair-1.4.0 spec/integration/yard/sinclair/options_parser_spec.rb
sinclair-1.3.4 spec/integration/yard/sinclair/options_parser_spec.rb
sinclair-1.3.3 spec/integration/yard/sinclair/options_parser_spec.rb
sinclair-1.3.2 spec/integration/yard/sinclair/options_parser_spec.rb
sinclair-1.3.1 spec/integration/yard/sinclair/options_parser_spec.rb
sinclair-1.3.0 spec/integration/yard/sinclair/options_parser_spec.rb
sinclair-1.2.1 spec/integration/yard/sinclair/options_parser_spec.rb
sinclair-1.2.0 spec/integration/yard/sinclair/options_parser_spec.rb