Sha256: 4988bdef2a12aba664326ccf795fc8b06f469ecb20c4b767c5e5bacbb3f8215b
Contents?: true
Size: 331 Bytes
Versions: 28
Compression:
Stored size: 331 Bytes
Contents
require 'rails_helper' RSpec.describe ::Dorsale::ExpenseGun::Category, type: :model do it "category factory should be valid?" do expect(FactoryGirl.build(:expense_gun_category)).to be_valid end it "#name should be present" do expect(FactoryGirl.build(:expense_gun_category)).to validate_presence_of :name end end
Version data entries
28 entries across 28 versions & 1 rubygems