13 lines
349 B
Ruby
13 lines
349 B
Ruby
require 'rails_helper'
|
|
require Rails.root.join 'spec/models/concerns/access_tokenable_spec.rb'
|
|
|
|
RSpec.describe AgentBot, type: :model do
|
|
describe 'associations' do
|
|
it { is_expected.to have_many(:agent_bot_inboxes) }
|
|
it { is_expected.to have_many(:inboxes) }
|
|
end
|
|
|
|
describe 'concerns' do
|
|
it_behaves_like 'access_tokenable'
|
|
end
|
|
end
|