spec/integration/command_projects_spec.rb in gooddata-0.6.4 vs spec/integration/command_projects_spec.rb in gooddata-0.6.5
- old
+ new
@@ -15,11 +15,13 @@
end
it "should update the project" do
@blueprint.merge!(@module_blueprint)
GoodData.with_project(@project) do |p|
- p.datasets.count.should == 4
+ p.blueprint.datasets.count.should == 3
+ p.blueprint.datasets(:include_date_dimensions => true).count.should == 4
GoodData::Command::Project.update({:spec => @blueprint, :project => p})
- p.datasets.count.should == 5
+ p.blueprint.datasets.count.should == 4
+ p.blueprint.datasets(:include_date_dimensions => true).count.should == 5
end
end
end