Sha256: 26232cfaede4d5832a3f7e95e1851b708b47cb07dbc21a671f7d7c49c290928d
Contents?: true
Size: 440 Bytes
Versions: 8
Compression:
Stored size: 440 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).relation_customs.present? end end
Version data entries
8 entries across 8 versions & 2 rubygems