Sha256: ac95d506ebf46128e834d10fbc675bacd992b3eb9e189b3e60a1e85db996c192
Contents?: true
Size: 718 Bytes
Versions: 2
Compression:
Stored size: 718 Bytes
Contents
require 'gooddata' describe GoodData::Metric, :vcr do before(:all) do @rest_client = ConnectionHelper.create_default_connection @project, * = ProjectHelper.load_full_project_implementation(@rest_client) @folder = GoodData::Folder.create(project: @project, client: @rest_client, title: 'aaa', type: 'metric') @folder.save.reload! @metric = @project.attributes.to_a.first.create_metric @metric.save.reload! end it 'should be able to update folders' do @metric.folders = [@folder.uri] @metric.save.reload! expect(@metric.folders).to eq([@folder.uri]) end after(:all) do @metric.delete if @metric @folder.delete if @folder @project.delete if @project end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gooddata-1.1.0-java | spec/integration/models/metric_spec.rb |
gooddata-1.1.0 | spec/integration/models/metric_spec.rb |