Sha256: be913e167fe89a3302cc34fc474d920ec6fc84ffd9ffa67596a342f21cde518a
Contents?: true
Size: 433 Bytes
Versions: 5
Compression:
Stored size: 433 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe Actor do it "should generate slug" do assert Factory(:actor).slug.present? end it "should generate different slug" do a = Factory(:actor) b = Factory(:actor, :name => a.name) a.name.should == b.name a.slug.should_not == b.slug end it "should generate relations" do assert Factory(:actor).relations.present? end end
Version data entries
5 entries across 5 versions & 1 rubygems