spec/ttx/parser_spec.rb in cheapredwine-0.1.0 vs spec/ttx/parser_spec.rb in cheapredwine-0.1.1
- old
+ new
@@ -8,10 +8,11 @@
it "parses a list of opentype features from ttx files" do
ttx.features.should eq ["kern", "size", "aalt", "frac", "liga", "ordn", "sups"]
end
- it "parses name font family and font name" do
+ it "parses attributes" do
ttx.family_name.should eq "Hobo Std"
ttx.font_name.should eq "Hobo Std Medium"
+ ttx.style.should eq "Regular"
end
end