Sha256: 5cb32ad8c470d380c00a3a937a63b36d9e69f6a5a7229aa0f44cb5c8c7d3ae09
Contents?: true
Size: 166 Bytes
Versions: 2
Compression:
Stored size: 166 Bytes
Contents
require 'spec_helper' describe Post do it "should set slug on create" do p = Post.create(:title => "hello world") p.slug.should == "hello-world" end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
slugger-0.1.0 | spec/lib/slugger_spec.rb |
slugger-0.0.1 | spec/lib/slugger_spec.rb |