Sha256: 4718a10fefb81c2ad3c8e989cd2133783be40168c4b8edf40eeee1ee1dfcaf39
Contents?: true
Size: 530 Bytes
Versions: 32
Compression:
Stored size: 530 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe MyBuilder do describe '#yard' do subject(:builder) do described_class.new(klass, rescue_error: true) end let(:klass) { Class.new } let(:instance) { klass.new } describe '#build' do before do builder.add_methods builder.build end context 'when calling built method' do it 'returns default value' do expect(instance.symbolize).to eq(:default) end end end end end
Version data entries
32 entries across 32 versions & 1 rubygems