summaryrefslogtreecommitdiff
path: root/spec/models/order_spec.rb
blob: 08be522c57b4c12a66a8fe5ed5e418f4405485c4 (plain)
1
2
3
4
5
6
7
8
9
10
# frozen_string_literal: true

require 'rails_helper'

RSpec.describe Order, type: :model do
  it { should belong_to(:user_account) }
  it { should have_one(:payment) }
  it { should have_many(:product_orders) }
  it { should have_many(:products) }
end