spec/gman/identifier_spec.rb in gman-7.0.5 vs spec/gman/identifier_spec.rb in gman-7.0.6

- old
+ new

@@ -135,11 +135,11 @@ expect(subject.city).to eql('Springfield') end end context 'a county .gov' do - let(:domain) { 'ALLEGHENYCOUNTYPA.GOV' } + let(:domain) { '211DUPAGE.GOV' } it "knows it's a county" do expect(subject).to be_a_county expect(subject.type).to be(:county) end @@ -159,15 +159,15 @@ it "knows it's not a state" do expect(subject).not_to be_a_state end it 'knows the state' do - expect(subject.state).to eql('PA') + expect(subject.state).to eql('IL') end it 'knows the city' do - expect(subject.city).to eql('Pittsburgh') + expect(subject.city).to eql('Wheaton') end end context 'a city .gov' do let(:domain) { 'ABERDEENMD.GOV' } @@ -201,11 +201,11 @@ end context "determining a domain's type" do { unknown: 'cityofperu.org', - "Canada municipal": 'acme.ca', - "Canada federal": 'canada.ca' + 'Canada municipal': 'acme.ca', + 'Canada federal': 'canada.ca' }.each do |expected, domain| context "Given the #{domain} domain" do let(:domain) { domain } it "know's the domain's type" do