Sha256: e8779e946389dceab5837a86503335b1c9fbe92e82a2a557d61255b809b0d36d

Contents?: true

Size: 242 Bytes

Versions: 14

Compression:

Stored size: 242 Bytes

Contents

# frozen_string_literal: true

require "spec_helper"

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

14 entries across 14 versions & 1 rubygems

Version Path
gutentag-2.5.2 spec/gutentag_spec.rb
gutentag-2.5.1 spec/gutentag_spec.rb
gutentag-2.5.0 spec/gutentag_spec.rb
gutentag-2.4.1 spec/gutentag_spec.rb
gutentag-2.4.0 spec/gutentag_spec.rb
gutentag-2.3.2 spec/gutentag_spec.rb
gutentag-2.3.1 spec/gutentag_spec.rb
gutentag-2.3.0 spec/gutentag_spec.rb
gutentag-2.2.1 spec/gutentag_spec.rb
gutentag-2.2.0 spec/gutentag_spec.rb
gutentag-2.1.0 spec/gutentag_spec.rb
gutentag-2.0.0 spec/gutentag_spec.rb
gutentag-1.1.0 spec/gutentag_spec.rb
gutentag-1.0.0 spec/gutentag_spec.rb