mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
Use require over require_relative for cross-lib calls
Avoid using `require_relative` with relative path to lib. Use `require` instead. More details about this cop can be found at: https://docs.rubocop.org/rubocop-packaging/cops_packaging.html#packagingrequirerelativehardcodinglib Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
This commit is contained in:
parent
8f7e1797c3
commit
4ab77e8b46
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
require_relative '../lib/shoulda/matchers/version'
|
||||
require 'shoulda/matchers/version'
|
||||
require 'erb'
|
||||
|
||||
module Shoulda
|
||||
|
|
Loading…
Reference in a new issue