summaryrefslogtreecommitdiff
path: root/spec/rubyspec/core/kernel/__dir___spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rubyspec/core/kernel/__dir___spec.rb')
-rw-r--r--spec/rubyspec/core/kernel/__dir___spec.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/rubyspec/core/kernel/__dir___spec.rb b/spec/rubyspec/core/kernel/__dir___spec.rb
deleted file mode 100644
index 395d30f494..0000000000
--- a/spec/rubyspec/core/kernel/__dir___spec.rb
+++ /dev/null
@@ -1,13 +0,0 @@
-require File.expand_path('../../../spec_helper', __FILE__)
-
-describe "Kernel#__dir__" do
- it "returns the real name of the directory containing the currently-executing file" do
- __dir__.should == File.realpath(File.dirname(__FILE__))
- end
-
- context "when used in eval with top level binding" do
- it "returns the real name of the directory containing the currently-executing file" do
- eval("__dir__", binding).should == File.realpath(File.dirname(__FILE__))
- end
- end
-end