Sha256: 2d9c79f0e7634871584f3923560d69ce212fe2c401952d0e5b8c28370bada75a

Contents?: true

Size: 193 Bytes

Versions: 2

Compression:

Stored size: 193 Bytes

Contents

require 'spec_helper'

describe Actor do
  it "should upcase the slug" do
    user = Actor.new(:name => "Geoffrey Rush")
    user.save!
    user.reload.slug.should == 'GEOFFREY-RUSH'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wulffeld_slug-0.0.16 spec/lib/actor_spec.rb
wulffeld_slug-0.0.15 spec/lib/actor_spec.rb