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