Sha256: 5b6975faeb83b0adcc972a2b07c595bf6d15af0b14d4a004bf12dc9e173cde47
Contents?: true
Size: 362 Bytes
Versions: 4
Compression:
Stored size: 362 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' RSpec.describe ModelSlug, 'filters:slug' do from = 'The TÃtle' to = 'the-title' it { expect(described_class.create(permalink: from).permalink).to eq to } it { expect(described_class.create(title: from).slug).to eq to } it { expect(described_class.create(title: from).title).to eq from } end
Version data entries
4 entries across 4 versions & 1 rubygems