Sha256: 4cbd7f7db9b14c97a15d149b97b27228bc8be1221cebbdc2fc90bd2ba8e2621b
Contents?: true
Size: 423 Bytes
Versions: 5
Compression:
Stored size: 423 Bytes
Contents
require 'spec_helper' describe Waddup::Registry do let(:dummy) { Class.new do extend Waddup::Registry end } let(:target) { Class.new(dummy) } describe '#registry' do it 'retrieves the registry' do expect(dummy.registry).to be_an Array end end describe '#register' do it 'registers subclasses in registry' do expect(dummy.registry).to include target end end end
Version data entries
5 entries across 5 versions & 1 rubygems