Sha256: c22ed1b6c2ed2d548ddaced2300a48ef0e49caba5135f8b126d3f75640e7bb9b
Contents?: true
Size: 379 Bytes
Versions: 1
Compression:
Stored size: 379 Bytes
Contents
require 'spec_helper' describe 'yard' do describe Sinclair::OptionsParser do let(:options) { { switch: false, option_1: 10, option_2: 20 } } subject { described_class::Dummy.new(options) } describe '#the_method' do it 'returns the value for option given' do expect(subject.the_method).to eq('The value is not 10 but 20') end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sinclair-1.1.1 | spec/integration/yard/options_parser_spec.rb |