# require 'rails_helper'

# RSpec.describe Price, type: :model do
# 	let(:price) { FactoryBot.build(:price)}
# 	describe '#set_purchase' do
# 		it 'returns an instance of purchase with price' do
# 			price.save
# 			purchase = price.set_purchase
# 			expect(purchase).to be_instance_of(Purchase)
# 			expect(purchase.price).to be_instance_of(Price)
# 		end
# 	end
# end
