diff options
author | pluralcafe-docker <git@plural.cafe> | 2019-01-16 19:42:22 +0000 |
---|---|---|
committer | pluralcafe-docker <git@plural.cafe> | 2019-01-16 19:42:22 +0000 |
commit | fb7ec403227690f897a9a693f2461b94bf7e2582 (patch) | |
tree | 043d220748575a444b8628d8c4bf2e5225a92a00 /spec/models/admin/action_log_spec.rb | |
parent | ae24ef877b82466cab026a76ea6ed8598ddaae18 (diff) | |
parent | 530d29148ca0c5bf29f6fa516b1ef4f91d95894b (diff) |
Merge branch 'glitch'
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 |