Skip to content

Commit 7e2f3d1

Browse files
committed
Merge pull request #1110 from beauby/add-ar-models-tests
Add lint tests for AR models
2 parents 2789a57 + ec62608 commit 7e2f3d1

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test/active_record_test.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
require 'test_helper'
2+
3+
class ActiveRecordTest < Minitest::Test
4+
include ActiveModel::Serializer::Lint::Tests
5+
6+
def setup
7+
@resource = ARModels::Post.new
8+
end
9+
end

0 commit comments

Comments
 (0)