spec/info_spec.rb in cheapredwine-0.2.0 vs spec/info_spec.rb in cheapredwine-0.3.1

- old
+ new

@@ -1,12 +1,10 @@ require 'cheapredwine/info' -include CheapRedWine - -describe Info do +describe CheapRedWine::Info do it "get info out of an otf or ttf font file" do font = 'spec/fixtures/hobo.otf' - info = Info.new font + info = CheapRedWine::Info.new font info.font_name.should eq "Hobo Std Medium" info.family_name.should eq "Hobo Std" info.style.should eq "Regular" info.features.should eq ["aalt", "frac", "liga", "ordn", "sups"] end