summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbinoam P. Marques Jr <abinoam@gmail.com>2017-07-07 05:07:25 -0300
committerAbinoam P. Marques Jr <abinoam@gmail.com>2017-07-07 05:31:51 -0300
commit0a14b32d7d8e6d163464dbbdab742843e2f85faf (patch)
tree7951c7cf2e5129f0cd8765f983f40cb0a8cbd6f2
parent05e5b87dac3ba623e5b23078693a3854e9dde627 (diff)
downloadhighline-0a14b32d7d8e6d163464dbbdab742843e2f85faf.tar.gz
Fix caller rubocop warning
-rw-r--r--test/acceptance/acceptance_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/acceptance/acceptance_test.rb b/test/acceptance/acceptance_test.rb
index bc2ef94..a5f9258 100644
--- a/test/acceptance/acceptance_test.rb
+++ b/test/acceptance/acceptance_test.rb
@@ -6,7 +6,7 @@ class HighLine::AcceptanceTest
@answers ||= {}
def self.check
- caller_file = File.basename(caller[0].split(":")[-3])
+ caller_file = File.basename(caller(1..1).first.split(":")[-3])
test = new
yield test