spec/integration/segments_spec.rb in gooddata-0.6.50 vs spec/integration/segments_spec.rb in gooddata-0.6.51
- old
+ new
@@ -11,10 +11,10 @@
before(:all) do
@client = ConnectionHelper.create_default_connection
@domain = @client.domain(ConnectionHelper::DEFAULT_DOMAIN)
GoodData::Segment.all(domain: @domain).each do |segment|
begin
- segment.delete
+ segment.delete(force: true)
rescue StandardError => e
GoodData.logger.warn "Failed to delete segment: #{e}"
end
end
end