about summary refs log tree commit diff
path: root/spec/models/admin/action_log_spec.rb
diff options
context:
space:
mode:
authorpluralcafe-docker <git@plural.cafe>2019-01-16 19:42:48 +0000
committerpluralcafe-docker <git@plural.cafe>2019-01-16 19:42:48 +0000
commitd899138556513c8a5fa3397606ecc4752b7c6785 (patch)
tree043d220748575a444b8628d8c4bf2e5225a92a00 /spec/models/admin/action_log_spec.rb
parenta6e0ff72f552dc172c18f5a10bbca071b067ab51 (diff)
parentfb7ec403227690f897a9a693f2461b94bf7e2582 (diff)
Merge branch 'master' into production
Diffstat (limited to 'spec/models/admin/action_log_spec.rb')
-rw-r--r--spec/models/admin/action_log_spec.rb8
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