This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2019-01-10 23:28:09 -08:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-11-23 17:05:53 -08:00
|
|
|
require 'rails_helper'
|
|
|
|
|
2023-05-03 20:49:53 -07:00
|
|
|
RSpec.describe Admin::ActionLog do
|
2019-01-10 23:28:09 -08: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-23 17:05:53 -08:00
|
|
|
end
|