Sha256: 683aeae142e4417a27b2cf47c5b980b91c8e82bfa73fe76a3b345a23f01c75e0

Contents?: true

Size: 441 Bytes

Versions: 4

Compression:

Stored size: 441 Bytes

Contents

require_relative '../../test_helper'

describe Fog::Vsphere::Compute::Real do
  include Fog::Vsphere::TestHelper

  before { Fog.unmock! }
  after { Fog.mock! }

  let(:compute) { prepare_compute }

  describe '#create_folder' do
    it 'creates folder' do
      with_webmock_cassette('create_folder') do
        folder = compute.create_folder('BRQ', '/', 'TestFolder')
        assert_equal(folder, 'TestFolder')
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fog-vsphere-3.7.0 tests/requests/compute/create_folder_tests.rb
fog-vsphere-3.6.8 tests/requests/compute/create_folder_tests.rb
fog-vsphere-3.6.7 tests/requests/compute/create_folder_tests.rb
fog-vsphere-3.6.6 tests/requests/compute/create_folder_tests.rb