Skip to content

Commit 6bd856d

Browse files
committed
Run rubocop autocorrects
1 parent 78f1071 commit 6bd856d

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

lib/shopify_api/auth/session.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,8 +130,8 @@ def serialize
130130
sig { params(other: T.nilable(Session)).returns(T::Boolean) }
131131
def ==(other)
132132
if other
133-
(
134-
id == other.id &&
133+
134+
id == other.id &&
135135
shop == other.shop &&
136136
state == other.state &&
137137
scope == other.scope &&
@@ -140,7 +140,7 @@ def ==(other)
140140
online? == other.online? &&
141141
associated_user == other.associated_user &&
142142
shopify_session_id == other.shopify_session_id
143-
)
143+
144144
else
145145
false
146146
end

test/admin_versions_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# typed: true
22
# frozen_string_literal: true
33

4-
require_relative "./test_helper"
4+
require_relative "test_helper"
55

66
module ShopifyAPITest
77
class AdminVersionsTest < Minitest::Test

test/auth_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# typed: false
22
# frozen_string_literal: true
33

4-
require_relative "./test_helper"
4+
require_relative "test_helper"
55

66
module ShopifyAPITest
77
class AuthTest < Test::Unit::TestCase

test/context_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# typed: true
22
# frozen_string_literal: true
33

4-
require_relative "./test_helper"
4+
require_relative "test_helper"
55

66
module ShopifyAPITest
77
class ContextTest < Minitest::Test

test/logger_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# typed: true
22
# frozen_string_literal: true
33

4-
require_relative "./test_helper"
4+
require_relative "test_helper"
55

66
module ShopifyAPITest
77
class LoggerTest < Minitest::Test

test/test_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
require "shopify_api"
1313
require "pry-byebug"
1414

15-
require_relative("./test_helpers/constants.rb")
15+
require_relative("test_helpers/constants.rb")
1616

1717
Dir[File.dirname(__FILE__) + "/test_helpers/*.rb"].each { |file| require file }
1818

test/webhooks/registry_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# frozen_string_literal: true
33

44
require_relative "../test_helper.rb"
5-
require_relative "./webhook_registration_queries.rb"
5+
require_relative "webhook_registration_queries.rb"
66

77
module ShopifyAPITest
88
module Webhooks

0 commit comments

Comments
 (0)