Skip to content
Snippets Groups Projects
Commit c059999a authored by ysksn's avatar ysksn Committed by Eugen Rochko
Browse files

Add a spec for Admin::ActionLog (#9775)

parent 43ff92df
No related branches found
No related tags found
No related merge requests found
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Admin::ActionLog, type: :model do
describe '#action' do
it 'returns action' do
action_log = described_class.new(action: 'hoge')
expect(action_log.action).to be :hoge
end
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment