Sha256: f6960335e4eb1e19f7440c0ab7f0207f82cea62c0882e7e431a942f5ff48eb0c

Contents?: true

Size: 805 Bytes

Versions: 3

Compression:

Stored size: 805 Bytes

Contents

# encoding: UTF-8

require 'gooddata/core/rest'

describe GoodData do
  before(:each) do
    @client = ConnectionHelper.create_default_connection
    @project = ProjectHelper.get_default_project(:client => @client)
  end

  after(:each) do
    @client.disconnect
  end

  describe '#get_project_webdav_path' do
    it 'Returns path' do
      @client.get_project_webdav_path('test-file.csv', :project => @project)
    end
  end

  describe '#upload_to_project_webdav' do
    it 'Uploads file' do
      pending('Research how to properly upload file')
      @client.upload_to_project_webdav('spec/data/test-ci-data.csv', :project => @project)
    end
  end

  describe '#get_user_webdav_path' do
    it 'Gets the path' do
      @client.get_user_webdav_path('test.csv', :project => @project)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gooddata-0.6.10 spec/unit/core/rest_spec.rb
gooddata-0.6.9 spec/unit/core/rest_spec.rb
gooddata-0.6.8 spec/unit/core/rest_spec.rb