Sha256: 509b9fa5cd52e585f8fe1a9b9894fa961b51959b8ba19d47c1860b0d2a100cd2
Contents?: true
Size: 328 Bytes
Versions: 15
Compression:
Stored size: 328 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
15 entries across 15 versions & 1 rubygems