spec/contributor_spec.rb in onix-0.8.3 vs spec/contributor_spec.rb in onix-0.8.4

- old
+ new

@@ -14,18 +14,18 @@ specify "should correctly convert to a string" do header = ONIX::Contributor.from_xml(@root.to_s) header.to_xml.to_s[0,13].should eql("<Contributor>") end - specify "should provide read access to first level attibutes" do + specify "should provide read access to first level attributes" do contrib = ONIX::Contributor.from_xml(@root.to_s) contrib.contributor_role.should eql("A01") contrib.person_name_inverted.should eql("SHAPIRO") contrib.sequence_number.should eql(1) end - specify "should provide write access to first level attibutes" do + specify "should provide write access to first level attributes" do contrib = ONIX::Contributor.new contrib.contributor_role = "A02" contrib.to_xml.to_s.include?("<ContributorRole>A02</ContributorRole>").should be_true