spec/series_identifier_spec.rb in onix-0.8.3 vs spec/series_identifier_spec.rb in onix-0.8.4
- old
+ new
@@ -14,17 +14,17 @@
specify "should correctly convert to a string" do
series = ONIX::SeriesIdentifier.from_xml(@root.to_s)
series.to_xml.to_s[0,18].should eql("<SeriesIdentifier>")
end
- specify "should provide read access to first level attibutes" do
+ specify "should provide read access to first level attributes" do
series = ONIX::SeriesIdentifier.from_xml(@root.to_s)
series.series_id_type.should eql(1)
series.id_value.should eql("10001")
end
- specify "should provide write access to first level attibutes" do
+ specify "should provide write access to first level attributes" do
series = ONIX::SeriesIdentifier.new
series.series_id_type = 9
series.to_xml.to_s.include?("<SeriesIDType>09</SeriesIDType>").should be_true