require 'rails_helper' RSpec.describe Invoice, type: :model do it 'should generate a reference after create' it 'should generate a invoice pdf' it 'should can build a avoir' end