Sha256: b3bdc751d57f131806e0ecd85412282ed851dddfaa172d2d5a17c7012d9af5ca
Contents?: true
Size: 298 Bytes
Versions: 5
Compression:
Stored size: 298 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 expect(object.to_s).to eq('Boston Ward 1') end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
pupa-0.2.4 | spec/models/area_spec.rb |
pupa-0.2.3 | spec/models/area_spec.rb |
pupa-0.2.2 | spec/models/area_spec.rb |
pupa-0.2.1 | spec/models/area_spec.rb |
pupa-0.2.0 | spec/models/area_spec.rb |