From 0a14b32d7d8e6d163464dbbdab742843e2f85faf Mon Sep 17 00:00:00 2001 From: "Abinoam P. Marques Jr" Date: Fri, 7 Jul 2017 05:07:25 -0300 Subject: Fix caller rubocop warning --- test/acceptance/acceptance_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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 -- cgit v1.2.1