require 'spec_helper' describe 'Basic construction' do before(:each) do @dsxml = <<-EOF Electronic Theses and Dissertations Abstract contents. Stanford University Libraries, Stanford Digital Repository creator eng First Place Other Place, Nation; 1890-1910 20th century Topic1: Boring Part another first second Topic2: The Interesting Part! EOF end describe "from_str" do it "should work" do m = Stanford::Mods::Record.new expect(m).not_to be_nil m.from_str(@dsxml) expect(m).not_to be_nil end end end