summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Luis Leal Cardoso Junior <andrehjr@gmail.com>2022-04-09 19:07:53 -0300
committerAndré Luis Leal Cardoso Junior <andrehjr@gmail.com>2022-04-09 19:07:53 -0300
commit69f81d57137804fce6821999c51fd43846e7d55e (patch)
tree44616a9e9430eb26c3833c561917661f95e65b49
parent4daa24ded5a74e590ac14a9ff6fc5e3335a4476b (diff)
downloadpry-69f81d57137804fce6821999c51fd43846e7d55e.tar.gz
Fix ruby 1.9 build
-rw-r--r--spec/method_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/method_spec.rb b/spec/method_spec.rb
index d2bf877e..137a9d11 100644
--- a/spec/method_spec.rb
+++ b/spec/method_spec.rb
@@ -230,7 +230,7 @@ describe Pry::Method do
end
def load_task
- path = File.expand_path("fixtures/test_task.rb", __dir__)
+ path = File.expand_path("spec/fixtures/test_task.rb")
instance_eval File.read(path), path
end
end