spec/fontist/source_spec.rb in fontist-0.3.0 vs spec/fontist/source_spec.rb in fontist-0.4.0
- old
+ new
@@ -16,9 +16,9 @@
it "returns all available dataset" do
formulas = Fontist::Source.formulas
expect(formulas.msvista.license).not_to be_nil
expect(formulas.msvista.file_size).to eq("62914560")
- expect(formulas.msvista.fonts).to include("CALIBRI.TTF")
+ expect(formulas.msvista.fonts.map(&:name)).to include("Calibri")
end
end
end