You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
272 B

  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