Skip to content

Commit 4633f4e

Browse files
committed
lint
1 parent ba8d1f3 commit 4633f4e

File tree

8 files changed

+10
-10
lines changed

8 files changed

+10
-10
lines changed

spec/unit/lib/hooks/core/builder_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@
264264

265265
expect {
266266
builder.build
267-
}.to raise_error(Hooks::Core::ConfigurationError,
267+
}.to raise_error(Hooks::Core::ConfigurationError,
268268
"Configuration validation failed: Invalid config")
269269
end
270270

@@ -310,4 +310,4 @@
310310
}.to raise_error(Hooks::Core::ConfigurationError, "Custom error")
311311
end
312312
end
313-
end
313+
end

spec/unit/lib/hooks/core/config_loader_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,4 +365,4 @@
365365
expect(described_class.send(:symbolize_keys, nil)).to be_nil
366366
end
367367
end
368-
end
368+
end

spec/unit/lib/hooks/core/config_validator_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
root_path: "/custom/webhooks",
1515
health_path: "/custom/health",
1616
version_path: "/custom/version",
17-
environment: "development",
17+
environment: "development",
1818
endpoints_dir: "./custom/endpoints",
1919
use_catchall_route: true,
2020
symbolize_payload: false,
@@ -528,4 +528,4 @@
528528
}.to raise_error(described_class::ValidationError, "Custom validation error")
529529
end
530530
end
531-
end
531+
end

spec/unit/lib/hooks/core/logger_factory_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,4 +328,4 @@
328328
expect(yielded_value).to be_nil # with doesn't pass arguments
329329
end
330330
end
331-
end
331+
end

spec/unit/lib/hooks/core/signal_handler_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,4 +162,4 @@
162162
end
163163
end
164164
end
165-
end
165+
end

spec/unit/lib/hooks/handlers/base_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,4 +157,4 @@ def call(payload:, headers:, config:)
157157
expect(method.parameters).to include([:keyreq, :config])
158158
end
159159
end
160-
end
160+
end

spec/unit/lib/hooks/plugins/lifecycle_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,4 +246,4 @@ def on_error(exception, env)
246246
])
247247
end
248248
end
249-
end
249+
end

spec/unit/lib/hooks/plugins/request_validator/base_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,4 +272,4 @@ def self.valid?(payload:, headers:, secret:, config:)
272272
expect(method.parameters).to include([:keyreq, :config])
273273
end
274274
end
275-
end
275+
end

0 commit comments

Comments
 (0)