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-0.2.6 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-0.2.5 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-0.2.4 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-0.2.3 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-0.2.2 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-0.2.1 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-0.2.0 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-0.1.18 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-0.1.17 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-0.1.16 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-0.1.15 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-0.1.13 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-0.1.12 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-0.1.11 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-0.1.9 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-0.1.8 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-0.1.7 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-0.1.6 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-0.1.5 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb
leap_salesforce-0.1.4 lib/leap_salesforce/generator/templates/spec/limit_spec.rb.erb