Sha256: f215fe1e0b4848eba319de773b32007b397b157777d503613112eca1f068d668

Contents?: true

Size: 476 Bytes

Versions: 2

Compression:

Stored size: 476 Bytes

Contents

require 'spec_helper'
require 'json'

describe FamilySearch::Gedcomx::Fact do  
  subject { FamilySearch::Gedcomx::FamilySearch.new(JSON.parse(File.read('spec/familysearch/gedcomx/fixtures/person.json'))) }
  
  describe "distributing place details to the place objects" do
    it 'should have a #normalized on the PlaceReference objects' do
      subject.persons[0].birth.place.normalized.should be_instance_of(FamilySearch::Gedcomx::PlaceDescription)
    end
    
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
familysearch-gedcomx-1.0.1 spec/familysearch/gedcomx/familysearch_spec.rb
familysearch-gedcomx-1.0.0 spec/familysearch/gedcomx/familysearch_spec.rb