Sha256: a196fd08c94c31fa0cdc8ee12cbf95f10cead35e123285955adc35f50d504eef

Contents?: true

Size: 468 Bytes

Versions: 63

Compression:

Stored size: 468 Bytes

Contents

# frozen_string_literal: true
# This test demonstrates how limits can be checked for an organisation to ensure that memory is not run out of

RSpec.describe 'Limits' do
  let(:soql_limits) { SoqlData.limits }
  context 'Storage > 4MB' do
    it 'data storage' do
      expect(LeapSalesforce::Limits.remaining_for(:DataStorageMB)).to be > 4
    end
    it 'file storage' do
      expect(LeapSalesforce::Limits.remaining_for(:FileStorageMB)).to be > 4
    end
  end
end

Version data entries

63 entries across 63 versions & 1 rubygems

Version Path
leap_salesforce-1.5.0 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-1.4.4 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-1.4.3 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-1.4.2 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-1.4.1 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-1.4.0 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-1.3.1 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-1.3.0 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-1.2.2 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-1.2.1 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-1.2.0 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-1.1.2 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-1.1.1 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-1.1.0 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-1.0.5 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-1.0.4 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-1.0.3 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-1.0.2 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-1.0.1 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-1.0.0 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb