Sha256: e7a0ef36e3679930367f9092311b33c388768b6c7ea1e622974815d119d43c89

Contents?: true

Size: 293 Bytes

Versions: 4

Compression:

Stored size: 293 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')

describe Pupa::Area do
  let :object do
    Pupa::Area.new(name: 'Boston Ward 1')
  end

  describe '#to_s' do
    it 'should return a human-readable string' do
      object.to_s.should == 'Boston Ward 1'
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
pupa-0.1.11 spec/models/area_spec.rb
pupa-0.1.10 spec/models/area_spec.rb
pupa-0.1.9 spec/models/area_spec.rb
pupa-0.1.8 spec/models/area_spec.rb