1 2 3 4 5 6 7 8 9 10 11 12 13
# frozen_string_literal: true require 'rails_helper' describe NoteDiffFile do describe 'associations' do it { is_expected.to belong_to(:diff_note) } end describe 'validations' do it { is_expected.to validate_presence_of(:diff_note) } end end