Sha256: f40670c31188c149aef3c30440fa34241f9cc5598ca65e45c7d131f8e18dffab
Contents?: true
Size: 526 Bytes
Versions: 18
Compression:
Stored size: 526 Bytes
Contents
require 'spec_helper' require 'commander/methods' describe Commander::Methods do it 'includes Commander::UI' do expect(subject.ancestors).to include(Commander::UI) end it 'includes Commander::UI::AskForClass' do expect(subject.ancestors).to include(Commander::UI::AskForClass) end it 'includes Commander::Delegates' do expect(subject.ancestors).to include(Commander::Delegates) end it 'does not change the Object ancestors' do expect(Object.ancestors).not_to include(Commander::UI) end end
Version data entries
18 entries across 18 versions & 3 rubygems