Sha256: 9b7fb704b276e30b474093f541b01ada72ac4435a11bf260d4445d968260c71a

Contents?: true

Size: 699 Bytes

Versions: 6

Compression:

Stored size: 699 Bytes

Contents

# encoding: UTF-8

require 'gooddata/core/connection'
require 'gooddata/core/rest'

describe GoodData do
  before(:each) do
    ConnectionHelper.create_default_connection
  end

  after(:each) do
    GoodData.disconnect
  end

  describe '#get_project_webdav_path' do
    it 'Returns path' do
      GoodData.get_project_webdav_path('test-file.csv')
    end
  end

  describe '#upload_to_project_webdav' do
    it 'Uploads file' do
      pending('Research how to properly upload file')
      GoodData.upload_to_project_webdav('spec/data/test-ci-data.csv')
    end
  end

  describe '#get_user_webdav_path' do
    it 'Gets the path' do
      GoodData.get_user_webdav_path('test.csv')
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
gooddata-0.6.7 spec/unit/core/rest_spec.rb
gooddata-0.6.6 spec/unit/core/rest_spec.rb
gooddata-0.6.5 spec/unit/core/rest_spec.rb
gooddata-0.6.4 spec/unit/core/rest_spec.rb
gooddata-0.6.3 spec/unit/core/rest_spec.rb
gooddata-0.6.2 spec/unit/core/rest_spec.rb