]> cat aescling's git repositories - mastodon.git/blob - spec/models/admin/action_log_spec.rb
Add a spec for Admin::ActionLog (#9775)
[mastodon.git] / spec / models / admin / action_log_spec.rb
1 # frozen_string_literal: true
2
3 require 'rails_helper'
4
5 RSpec.describe Admin::ActionLog, type: :model do
6 describe '#action' do
7 it 'returns action' do
8 action_log = described_class.new(action: 'hoge')
9 expect(action_log.action).to be :hoge
10 end
11 end
12 end
This page took 0.077916 seconds and 4 git commands to generate.