Sha256: c41f26249d9911a7e974df407ac6fe7a03989da7602858418d48dd461e3892fa

Contents?: true

Size: 363 Bytes

Versions: 1

Compression:

Stored size: 363 Bytes

Contents

require 'spec_helper'

describe ReversePolishCalculator do
  
  describe '.start' do
    it 'starts the loop' do
      described_class.should_receive(:loop)
      described_class.start
    end
  end
  
  describe '.stack' do
    it 'returns an instance of Stack' do
      described_class.stack.should be_an_instance_of(described_class::Stack)
    end
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reverse-polish-calculator-0.0.1 spec/unit/reverse-polish-calculator_spec.rb