Sha256: a14e75dcfd50286dad7df77a481cf4e15fb72859b7a61d5d872b535d00f9ca29
Contents?: true
Size: 781 Bytes
Versions: 9
Compression:
Stored size: 781 Bytes
Contents
require 'rspec' require 'spec_helper' describe 'helper methods' do it 'should include countries names' do names = COUNTRY_NAMES names.class.should be Array names.include?("Colombia").should eq true names.should_not be nil end it 'should include countries nums' do names = COUNTRY_NUMS names.class.should be Array names.include?(170).should eq true names.should_not be nil end it 'should include countries alpha 2' do names = COUNTRY_ALPHA2S names.class.should be Array names.include?("CO").should eq true names.should_not be nil end it 'should include countries alpha 3' do names = COUNTRY_ALPHA3S names.class.should be Array names.include?("COL").should eq true names.should_not be nil end end
Version data entries
9 entries across 9 versions & 1 rubygems