1
0
Fork 0
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:
Utkarsh Gupta 2020-09-12 04:55:08 +05:30 committed by Elliot Winkler
parent 8f7e1797c3
commit 4ab77e8b46

View file

@ -1,4 +1,4 @@
require_relative '../lib/shoulda/matchers/version' require 'shoulda/matchers/version'
require 'erb' require 'erb'
module Shoulda module Shoulda