Sha256: ed18ff27601b024f0bf3a9ced5dd4bcf369307b4d6854a74d5e696782e5a412b
Contents?: true
Size: 326 Bytes
Versions: 16
Compression:
Stored size: 326 Bytes
Contents
require 'rails_helper' RSpec.describe Team, type: :model do it "should make a valid instance" do Team.make.valid?.should == true end it "should save a valid instance" do Team.make!.should == Team.last end it "should be created by a user" do Team.make.creator.kind_of?(User).should == true end end
Version data entries
16 entries across 16 versions & 1 rubygems