Sha256: f0991e4423ed9ab864e193f9486740f1b3d365002cf4700f354894785342d7f7
Contents?: true
Size: 301 Bytes
Versions: 1
Compression:
Stored size: 301 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' RSpec.describe ModelSlug, 'filters:slug' do from = 'The TÃtle' to = 'the-title' specify { expect(described_class.create(permalink: from).permalink).to eq to } specify { expect(described_class.create(title: from).slug).to eq to } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
normalizy-1.1.0 | spec/normalizy/extensions/filters/slug_spec.rb |