mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-24 14:56:50 +00:00
Add lint tests for AR models.
This commit is contained in:
parent
1388ae82f2
commit
ec6260870d
9
test/active_record_test.rb
Normal file
9
test/active_record_test.rb
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
require 'test_helper'
|
||||||
|
|
||||||
|
class ActiveRecordTest < Minitest::Test
|
||||||
|
include ActiveModel::Serializer::Lint::Tests
|
||||||
|
|
||||||
|
def setup
|
||||||
|
@resource = ARModels::Post.new
|
||||||
|
end
|
||||||
|
end
|
||||||
Loading…
Reference in New Issue
Block a user