Sha256: bcb513a942c0b4030996c9405409d107fc6123e012b406fb1c3e87f027912771
Contents?: true
Size: 330 Bytes
Versions: 2
Compression:
Stored size: 330 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 'max length' do expect( SimpleSlug.max_length).to eq 240 end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
simple_slug-0.3.5 | spec/simple_slug/base_spec.rb |
simple_slug-0.3.4 | spec/simple_slug/base_spec.rb |