Sha256: 4134b38224fa0add521a0dfb22d6b8876b0d7b561b3b9a59055b81be8bda5b03
Contents?: true
Size: 346 Bytes
Versions: 15
Compression:
Stored size: 346 Bytes
Contents
require 'rails_helper' RSpec.describe Project, type: :model do it "should make a valid instance" do Project.make.valid?.should == true end it "should save a valid instance" do Project.make!.should == Project.last end it "should be owned by a company" do Project.make.owner.kind_of?(Company).should == true end end
Version data entries
15 entries across 15 versions & 1 rubygems