summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Luis Leal Cardoso Junior <andrehjr@gmail.com>2022-04-09 19:15:08 -0300
committerGitHub <noreply@github.com>2022-04-09 19:15:08 -0300
commit38033e8db18a40e1a2db23c411dd6593b61ef14b (patch)
tree44616a9e9430eb26c3833c561917661f95e65b49
parent4daa24ded5a74e590ac14a9ff6fc5e3335a4476b (diff)
parent69f81d57137804fce6821999c51fd43846e7d55e (diff)
downloadpry-38033e8db18a40e1a2db23c411dd6593b61ef14b.tar.gz
Merge pull request #2245 from andrehjr/fix-ruby19-build
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