Sha256: 3e5f20bca53ace445189ecf6b41800ed43ac11794df120ef67e6c0ed66621090

Contents?: true

Size: 474 Bytes

Versions: 1

Compression:

Stored size: 474 Bytes

Contents

require File.dirname(__FILE__) + '/spec_helper.rb'
require 'fileutils'

describe "fileutils compatibility with VFS" do

  extend TestDataCopyHelper

  it "should support fileutils.cp for vfs paths" do
    prefix = test_copy_base_path( :vfs )
    source = File.join( prefix, "home", "larry", "file1.txt" )
    destination = File.join( prefix, "home", "larry", "file1_copy.txt" )
    FileUtils.cp( source, destination )
    File.exist?( destination ).should be_true
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
torquebox-vfs-2.0.0.beta1-java spec/fileutils_spec.rb