Sha256: 222e56766364e965e0795c6b628cd12696aa59386273bda214d68ca1e6faab81
Contents?: true
Size: 231 Bytes
Versions: 2
Compression:
Stored size: 231 Bytes
Contents
require 'spec/helper' describe '__DIR__' do # this is hardly exhaustive, but better tha anything it 'should report the directory of the current file' do __DIR__.should == File.dirname(File.expand_path(__FILE__)) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ramaze-0.1.4 | spec/snippets/kernel/__dir__.rb |
ramaze-0.2.0 | spec/snippets/kernel/__dir__.rb |