Sha256: c46ab629893455567e6766a6399859f9f6c69146167e3485ad68d63d93d407ba

Contents?: true

Size: 530 Bytes

Versions: 1

Compression:

Stored size: 530 Bytes

Contents

require 'spec_helper'

  class Alex; include BigEyedAl; end

    describe BigEyedAl do

      let(:alex) { Alex.new }

      context 'when Alex makes a statement' do

        it 'it should say stop making silly statements' do
          expect(alex.said("Hello")).to eq "Stop making silly statements, Alex."
        end

      end

      context 'when Alex asks a question' do

        it 'it should say stop asking questions' do
          expect(alex.said("Why?")).to eq "Stop asking questions, Alex."
        end

      end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
big_eyed_al-0.0.2 spec/big_eyed_al_spec.rb