Skip to content

Commit 23d6d42

Browse files
committed
Disable parameter lists cop
1 parent 57fe014 commit 23d6d42

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/lib/annotate/annotate_models_spec.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ def mock_connection(indexes = [], foreign_keys = [], check_constraints = [])
5656
supports_check_constraints?: true)
5757
end
5858

59+
# rubocop:disable Metrics/ParameterLists
5960
def mock_class(table_name, primary_key, columns, indexes = [], foreign_keys = [], check_constraints = [])
6061
options = {
6162
connection: mock_connection(indexes, foreign_keys, check_constraints),
@@ -70,6 +71,7 @@ def mock_class(table_name, primary_key, columns, indexes = [], foreign_keys = []
7071

7172
double('An ActiveRecord class', options)
7273
end
74+
# rubocop:enable Metrics/ParameterLists
7375

7476
def mock_column(name, type, options = {})
7577
default_options = {

0 commit comments

Comments
 (0)