Sha256: a57d7ea79ab182b2029298f0980be63a3dab7e53cc7a07641c8ac841c48ab0c7

Contents?: true

Size: 533 Bytes

Versions: 3

Compression:

Stored size: 533 Bytes

Contents

Shindo.tests('Storage[:local] | files', ["local"]) do

  pending if Fog.mocking?

  before do
    @options = { :local_root => Dir.mktmpdir('fog-tests') }
  end

  after do
    FileUtils.remove_entry_secure(@options[:local_root]) if File.directory?(@options[:local_root])
  end

  tests("#is_truncated") do
    returns(false) do
      connection = Fog::Local::Storage.new(@options)
      directory = connection.directories.create(:key => 'directory')
      collection = directory.files
      collection.is_truncated
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fog-local-0.8.0 tests/local/models/files_tests.rb
fog-local-0.7.0 tests/local/models/files_tests.rb
fog-local-0.6.0 tests/local/models/files_tests.rb