diff options
author | Thibaut Girka <thib@sitedethib.com> | 2019-01-13 14:41:06 +0100 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2019-01-13 14:41:06 +0100 |
commit | eff1c94744609b432c8dba8a35cd97e9a20ce652 (patch) | |
tree | e173621ead4c940b201d419971c291530d575103 /spec/models/admin/action_log_spec.rb | |
parent | 2cfa55185a5fc7d93a160a4e9a4730aae6725b0f (diff) | |
parent | 4fb94c758e3bf2e1c0525e9075c2d5dedc14c666 (diff) |
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'spec/models/admin/action_log_spec.rb')
-rw-r--r-- | spec/models/admin/action_log_spec.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/models/admin/action_log_spec.rb b/spec/models/admin/action_log_spec.rb index 81d7e1be3..3495cc514 100644 --- a/spec/models/admin/action_log_spec.rb +++ b/spec/models/admin/action_log_spec.rb @@ -1,4 +1,12 @@ +# 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 |