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.28 lib/leap_salesforce/generator/templates/spec/picklists_spec.rb.erb
leap_salesforce-0.2.27 lib/leap_salesforce/generator/templates/spec/picklists_spec.rb.erb
leap_salesforce-0.2.26 lib/leap_salesforce/generator/templates/spec/picklists_spec.rb.erb
leap_salesforce-0.2.24 lib/leap_salesforce/generator/templates/spec/picklists_spec.rb.erb
leap_salesforce-0.2.23 lib/leap_salesforce/generator/templates/spec/picklists_spec.rb.erb
leap_salesforce-0.2.21 lib/leap_salesforce/generator/templates/spec/picklists_spec.rb.erb
leap_salesforce-0.2.20 lib/leap_salesforce/generator/templates/spec/picklists_spec.rb.erb
leap_salesforce-0.2.19 lib/leap_salesforce/generator/templates/spec/picklists_spec.rb.erb
leap_salesforce-0.2.18 lib/leap_salesforce/generator/templates/spec/picklists_spec.rb.erb
leap_salesforce-0.2.17 lib/leap_salesforce/generator/templates/spec/picklists_spec.rb.erb
leap_salesforce-0.2.16 lib/leap_salesforce/generator/templates/spec/picklists_spec.rb.erb
leap_salesforce-0.2.15 lib/leap_salesforce/generator/templates/spec/picklists_spec.rb.erb
leap_salesforce-0.2.14 lib/leap_salesforce/generator/templates/spec/picklists_spec.rb.erb
leap_salesforce-0.2.13 lib/leap_salesforce/generator/templates/spec/picklists_spec.rb.erb
leap_salesforce-0.2.12 lib/leap_salesforce/generator/templates/spec/picklists_spec.rb.erb
leap_salesforce-0.2.11 lib/leap_salesforce/generator/templates/spec/picklists_spec.rb.erb
leap_salesforce-0.2.10 lib/leap_salesforce/generator/templates/spec/picklists_spec.rb.erb
leap_salesforce-0.2.9 lib/leap_salesforce/generator/templates/spec/picklists_spec.rb.erb
leap_salesforce-0.2.8 lib/leap_salesforce/generator/templates/spec/picklists_spec.rb.erb
leap_salesforce-0.2.7 lib/leap_salesforce/generator/templates/spec/picklists_spec.rb.erb