spec/integration/blueprint_updates_spec.rb in gooddata-0.6.43 vs spec/integration/blueprint_updates_spec.rb in gooddata-0.6.44
- old
+ new
@@ -47,10 +47,10 @@
bp.datasets('dataset.commits').change do |d|
d.add_label('label.commits.factsof.id',
reference: 'attr.commits.factsof',
name: 'anchor_label')
end
- @project.update_from_blueprint(bp, preference: { cascade_drops: false, preserve_data: false})
+ @project.update_from_blueprint(bp, maql_replacements: { "PRESERVE DATA" => ""})
data = [
['label.commits.factsof.id', 'fact.commits.lines_changed', 'committed_on', 'dataset.devs', 'dataset.repos'],
['111', 1, '01/01/2011', '1', '1'],
['222', 2, '01/01/2011', '2', '2'],
['333', 3, '01/01/2011', '3', '3']]