spec/fontist/system_font_spec.rb in fontist-1.2.0 vs spec/fontist/system_font_spec.rb in fontist-1.2.1
- old
+ new
@@ -1,9 +1,9 @@
require "spec_helper"
RSpec.describe Fontist::SystemFont do
describe ".find" do
- context "with a vlaid existing font" do
+ context "with a valid existing font" do
it "returns the complete font path" do
name = "DejaVuSerif.ttf"
dejavu_ttf = Fontist::SystemFont.find(name, sources: [font_sources])
expect(dejavu_ttf).not_to be_nil