Sha256: d46711a034102c18c5ffef600abe48a743568bf04c50b5e0467bff36cda16eba

Contents?: true

Size: 422 Bytes

Versions: 17

Compression:

Stored size: 422 Bytes

Contents

def directory_tests(connection, params = {}, mocks_implemented = true)

  params = {:key => 'fogdirectorytests'}.merge!(params)

  model_tests(connection.directories, params, mocks_implemented) do

    tests("#public=(true)").succeeds do
      pending if Fog.mocking? && !mocks_implemented
      @instance.public=(true)
    end

    if !Fog.mocking? || mocks_implemented
      responds_to(:public_url)
    end

  end

end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
fog-0.3.34 tests/helpers/storage/directory_tests.rb
fog-0.3.33 tests/helpers/storage/directory_tests.rb
fog-0.3.32 tests/helpers/storage/directory_tests.rb
fog-0.3.31 tests/helpers/storage/directory_tests.rb
fog-0.3.30 tests/helpers/storage/directory_tests.rb
fog-0.3.29 tests/helpers/storage/directory_tests.rb
fog-0.3.28 tests/helpers/storage/directory_tests.rb
fog-0.3.27 tests/helpers/storage/directory_tests.rb
fog-0.3.26 tests/helpers/storage/directory_tests.rb
fog-0.3.25 tests/helpers/storage/directory_tests.rb
fog-0.3.24 tests/helpers/storage/directory_tests.rb
fog-0.3.23 tests/helpers/storage/directory_tests.rb
fog-0.3.22 tests/helpers/storage/directory_tests.rb
fog-0.3.21 tests/helpers/storage/directory_tests.rb
fog-0.3.20 tests/helpers/storage/directory_tests.rb
fog-0.3.19 tests/helpers/storage/directory_tests.rb
fog-0.3.18 tests/helpers/storage/directory_tests.rb