Sha256: 097c8c4ac71dbd79795d2df982669b2e8e111098830187ca0ad22b221e43b3e3
Contents?: true
Size: 424 Bytes
Versions: 9
Compression:
Stored size: 424 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe MyBuilder do describe '#yard' do let(:klass) { Class.new } describe 'Passing building options (Used on subclasses)' do it 'builds the methods' do MyBuilder.build(klass, rescue_error: true) do add_methods end instance = klass.new expect(instance.symbolize).to eq(:default) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems