mirror of
https://github.com/opf/openproject.git
synced 2026-06-13 19:20:00 +00:00
Fix inflection
This commit is contained in:
@@ -248,6 +248,7 @@ RSpec/DescribeMethod:
|
||||
# to match the exact file name
|
||||
RSpec/SpecFilePathFormat:
|
||||
CustomTransform:
|
||||
OpenIDConnect: openid_connect
|
||||
OAuthClients: oauth_clients
|
||||
IgnoreMethods: true
|
||||
|
||||
|
||||
@@ -34,6 +34,8 @@ OpenProject::Inflector.rule do |basename, abspath|
|
||||
"OAuth#{default_inflect($1, abspath)}"
|
||||
when /\A(.*)_oauth\z/
|
||||
"#{default_inflect($1, abspath)}OAuth"
|
||||
when "openid_connect"
|
||||
"OpenIDConnect"
|
||||
when "oauth"
|
||||
"OAuth"
|
||||
when /\Aclamav_(.*)\z/
|
||||
|
||||
Reference in New Issue
Block a user