Chatwoot/spec/models/concerns/access_tokenable_spec.rb

10 lines
218 B
Ruby
Raw Normal View History

2021-01-14 15:05:22 +00:00
require 'rails_helper'
shared_examples_for 'access_tokenable' do
let(:obj) { create(described_class.to_s.underscore) }
it 'creates access token on create' do
expect(obj.access_token).not_to eq(nil)
end
end