Sha256: 6e4e184103a2b3eddcb54f44dccbf12c796250a5c623807e3eb3acf02d8758cb

Contents?: true

Size: 248 Bytes

Versions: 5

Compression:

Stored size: 248 Bytes

Contents

# frozen_string_literal: true

require "spec_helper"

RSpec.describe Gutentag do
  describe ".normalizer" do
    it "downcases the provided name" do
      expect(Gutentag.normaliser.call("Tasty Pancakes")).to eq("tasty pancakes")
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gutentag-2.6.2 spec/gutentag_spec.rb
gutentag-2.6.1 spec/gutentag_spec.rb
gutentag-2.6.0 spec/gutentag_spec.rb
gutentag-2.5.4 spec/gutentag_spec.rb
gutentag-2.5.3 spec/gutentag_spec.rb