Reduce differences in spec/support/api/schema_matcher.rb

Signed-off-by: Rémy Coutable <remy@rymai.me>
This commit is contained in:
Rémy Coutable 2019-02-26 17:54:19 +01:00
parent fee665e65d
commit 12e2c3aa48
No known key found for this signature in database
GPG key ID: 98DFFD1C0C62B70B

View file

@ -1,6 +1,6 @@
module SchemaPath
def self.expand(schema, dir = '')
Rails.root.join('spec', dir, "fixtures/api/schemas/#{schema}.json").to_s
Rails.root.join(dir, 'spec', "fixtures/api/schemas/#{schema}.json").to_s
end
end