mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 22:47:46 +08:00
FIX: Logs api scope not working (#25215)
This commit is contained in:
@ -7,5 +7,12 @@ RSpec.describe ApiKeyScope do
|
||||
"/posts (POST)",
|
||||
)
|
||||
end
|
||||
|
||||
it "should return logster urls" do
|
||||
expect(ApiKeyScope.find_urls(actions: [Logster::Web], methods: [])).to contain_exactly(
|
||||
"/logs/messages.json (POST)",
|
||||
"/logs/show/:id.json (GET)",
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user