Sha256: 5d8ace15e78b8597d0575daed985dd403a72ab1975fcabe6134287c29121bea3
Contents?: true
Size: 567 Bytes
Versions: 1
Compression:
Stored size: 567 Bytes
Contents
require 'spec_helper' describe BigEyedAl do let(:alex) { BigEyedAl } context 'when Alex makes a statement' do it 'it should say stop making silly statements' do expect(alex).to receive(:`).with(' say "Stop making silly statements, Alex."') alex.said("Hello") end end context 'when Alex asks a question' do it 'it should say stop asking questions' do expect(alex).to receive(:`).with(' say "Stop asking questions, Alex."') alex.said("Why?") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
big_eyed_al-0.1.0 | spec/big_eyed_al_spec.rb |