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

- old
+ new

@@ -14,17 +14,17 @@ specify "should correctly convert to a string" do ot = ONIX::OtherText.from_xml(@root.to_s) ot.to_xml.to_s[0,11].should eql("<OtherText>") end - specify "should provide read access to first level attibutes" do + specify "should provide read access to first level attributes" do ot = ONIX::OtherText.from_xml(@root.to_s) ot.text_type_code.should eql(2) ot.text[0,7].should eql("A woman") end - specify "should provide write access to first level attibutes" do + specify "should provide write access to first level attributes" do ot = ONIX::OtherText.new ot.text_type_code = 2 ot.to_xml.to_s.include?("<TextTypeCode>02</TextTypeCode>").should be_true