Skip to content

Commit f7c15f9

Browse files
committed
Fix warnings
1 parent 250cbd9 commit f7c15f9

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

lib/ar_sync/config.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
require 'ostruct'
21
module ArSync
32
config_keys = %i[
43
current_user_method

test/request_test.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ def self.around_action(*); end
1111

1212
class TsTest < Minitest::Test
1313
PARAMS_TYPE = { fooId: :int, bar: { bazId: :int } }
14-
class Model ActiveRecord::Base
15-
def self.after_initialize(*); end
16-
def self.before_destroy(*); end
17-
def self.after_commit(*); end
14+
class Model
15+
def self.after_initialize(*, &); end
16+
def self.before_destroy(*, &); end
17+
def self.after_commit(*, &); end
1818
include ArSerializer::Serializable
1919
include ArSync::ModelBase
2020
def self.validate!(foo_id, bar)

0 commit comments

Comments
 (0)