Misspell

You can have typos. We’ll fix them for you at runtime.

class WTF
  include Misspell

  def attempt
    "wtf"
  end
end

describe WTF do
  let(:wtf) { WTF.new }

  it "does just as expected" do
    wtf.attempt.should == "wtf"
  end

  it "calls a method with distance 1" do
    wtf.attemp.should == "wtf"
  end

  it "calls another method with distance 1" do
    wtf.atempt.should == "wtf"
  end 
end