spec/language_spec.rb in onix-0.8.3 vs spec/language_spec.rb in onix-0.8.4
- old
+ new
@@ -14,18 +14,18 @@
specify "should correctly convert to a string" do
lan = ONIX::Language.from_xml(@root.to_s)
lan.to_xml.to_s[0,10].should eql("<Language>")
end
- specify "should provide read access to first level attibutes" do
+ specify "should provide read access to first level attributes" do
lan = ONIX::Language.from_xml(@root.to_s)
lan.language_role.should eql(1)
lan.language_code.should eql("eng")
lan.country_code.should eql("US")
end
- specify "should provide write access to first level attibutes" do
+ specify "should provide write access to first level attributes" do
lan = ONIX::Language.new
lan.language_role = 2
lan.to_xml.to_s.include?("<LanguageRole>02</LanguageRole>").should be_true