mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 07:53:49 +08:00
DEV: Use describe
for methods in specs
This commit is contained in:

committed by
Loïc Guitaut

parent
f1c3670d74
commit
296aad430a
@ -1,7 +1,7 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
describe UserApiKey do
|
||||
context "#allow?" do
|
||||
describe "#allow?" do
|
||||
def request_env(method, path, **path_parameters)
|
||||
ActionDispatch::TestRequest.create.tap do |request|
|
||||
request.request_method = method
|
||||
|
Reference in New Issue
Block a user