Sha256: b486619d166603705e9c1159370e4efd32becf62e38dace4017befea3bd9ce76
Contents?: true
Size: 239 Bytes
Versions: 6
Compression:
Stored size: 239 Bytes
Contents
shared_examples 'Base module' do it 'accepts including only into WrapIt::Base' do mod = described_class expect do Class.new(WrapIt::Base) { include mod } end.to raise_error TypeError, /only into WrapIt::Base/ end end
Version data entries
6 entries across 6 versions & 1 rubygems