Sha256: 28d6c14764df618c810f84d37b4836fdff2a7b615190fae02c4a4e45a4dfbd86

Contents?: true

Size: 346 Bytes

Versions: 2

Compression:

Stored size: 346 Bytes

Contents

require 'spec_helper'

# Test the Pippa API. Much more work possible here.
describe Pippa do

  it 'should report version' do
    Pippa::VERSION.should_not be_nil
  end

  it 'should return map names' do
    Pippa.map_names.size.should be == 30
  end

  it 'should have right number of zipcodes' do
    Pippa.zips.size.should == 41874
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pippa-0.3.0 spec/lib/pippa_spec.rb
pippa-0.2.1 spec/lib/pippa_spec.rb