Sha256: 5bb30479b31ebbf963e9fc3855132c6deaa20c02638f35ea641fbed71869752b

Contents?: true

Size: 335 Bytes

Versions: 62

Compression:

Stored size: 335 Bytes

Contents

# frozen_string_literal: true

RSpec.describe 'Picklists' do
  LeapSalesforce.objects_to_verify.each do |data_class|
    SoqlEnum.values_for(data_class).each do |picklist|
      it "#{picklist} has not changed values" do
        expect(picklist.values).to match_array data_class.picklist_for(picklist.name)
      end
    end
  end
end

Version data entries

62 entries across 62 versions & 1 rubygems

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