fixes: https://linear.app/chatwoot/issue/CW-1574/renable-the-disabled-rubocop-rules
12 lines
230 B
Ruby
12 lines
230 B
Ruby
require 'rails_helper'
|
|
|
|
RSpec.describe Webhook do
|
|
describe 'validations' do
|
|
it { is_expected.to validate_presence_of(:account_id) }
|
|
end
|
|
|
|
describe 'associations' do
|
|
it { is_expected.to belong_to(:account) }
|
|
end
|
|
end
|