mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Apply syntax_tree formatting to spec/*
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
RSpec.describe ApiKeyScope do
|
||||
describe '.find_urls' do
|
||||
it 'should return the right urls' do
|
||||
expect(ApiKeyScope.find_urls(actions: ["posts#create"], methods: []))
|
||||
.to contain_exactly("/posts (POST)")
|
||||
describe ".find_urls" do
|
||||
it "should return the right urls" do
|
||||
expect(ApiKeyScope.find_urls(actions: ["posts#create"], methods: [])).to contain_exactly(
|
||||
"/posts (POST)",
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user