Sha256: 170a263a5746887bb0b4b303c66a187b335a90dfb693bd0c8325d7a29b8c3327
Contents?: true
Size: 423 Bytes
Versions: 4
Compression:
Stored size: 423 Bytes
Contents
require 'spec_helper' describe SimpleSlug do context 'defaults' do it 'slug column' do expect(SimpleSlug.slug_column).to eq 'slug' end it 'excludes' do expect(SimpleSlug.excludes).to include('new', 'edit') end it 'exclude regexps' do expect( SimpleSlug.exclude_regexp).to eq /\A\d+\z/ end it 'max length' do expect( SimpleSlug.max_length).to eq 240 end end end
Version data entries
4 entries across 4 versions & 1 rubygems