Sha256: 174c3f1d310abbdd3df4498ac23e6efe354590494b409fa6e64d50749a474f04
Contents?: true
Size: 371 Bytes
Versions: 1
Compression:
Stored size: 371 Bytes
Contents
require 'test_helper' # File join test class class FileJoin < Minitest::Test def setup FakeFS.activate! end def teardown FakeFS.deactivate! end [ %w(a b), %w(a/ b), %w(a /b), %w(a/ /b), %w(a / b) ].each_with_index do |args, i| define_method "test_file_join_#{i}" do assert_equal RealFile.join(args), File.join(args) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fakefs-0.7.0 | test/fake/file/join_test.rb |