1
0

action_log_spec.rb 272 B

123456789101112
  1. # frozen_string_literal: true
  2. require 'rails_helper'
  3. RSpec.describe Admin::ActionLog, type: :model do
  4. describe '#action' do
  5. it 'returns action' do
  6. action_log = described_class.new(action: 'hoge')
  7. expect(action_log.action).to be :hoge
  8. end
  9. end
  10. end