2019-01-11 18:28:09 +11:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-11-24 12:05:53 +11:00
|
|
|
require 'rails_helper'
|
|
|
|
|
2023-05-04 13:49:53 +10:00
|
|
|
RSpec.describe Admin::ActionLog do
|
2019-01-11 18:28:09 +11:00
|
|
|
describe '#action' do
|
|
|
|
it 'returns action' do
|
|
|
|
action_log = described_class.new(action: 'hoge')
|
|
|
|
expect(action_log.action).to be :hoge
|
|
|
|
end
|
|
|
|
end
|
2017-11-24 12:05:53 +11:00
|
|
|
end
|