Sha256: 861637d8146a6f33b94ac518cb936221d05db98ac936c7646c3da7acb6cb7b4f

Contents?: true

Size: 602 Bytes

Versions: 3

Compression:

Stored size: 602 Bytes

Contents

require File.expand_path '../../test_helper', __dir__

# Blob Class
class TestSetBlobProperties < Minitest::Test
  # This class posesses the test cases for the requests of blob service.
  def setup
    @service = Fog::Storage::AzureRM.new(storage_account_credentials)
    @blob_client = @service.instance_variable_get(:@blob_client)
  end

  def test_set_blob_properties_success
    @blob_client.stub :set_blob_properties, true do
      assert @service.set_blob_properties('testcontainer', 'testblob10', content_language: 'english', content_disposition: 'attachment')
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fog-azure-rm-0.1.0 test/requests/storage/test_set_blob_properties.rb
fog-azure-rm-0.0.9 test/requests/storage/test_set_blob_properties.rb
fog-azure-rm-0.0.8 test/requests/storage/test_set_blob_properties.rb