Sha256: 0a316bbac8d533d5c3d09e7bbf52e56f3c501530fad7cb51272309fdb8fe63ae
Contents?: true
Size: 641 Bytes
Versions: 6
Compression:
Stored size: 641 Bytes
Contents
# frozen_string_literal: true require 'eac_ruby_utils/core_ext' RSpec.shared_examples 'entries_values' do |spec_file, expected_values| describe '#read_entry' do include_examples 'with_config', spec_file expected_values.each do |instance_id, values| values.each do |input, expected| context "when a auto value is requested for \"#{instance_id}.#{input}\"" do let(:instance) { described_class.by_id(instance_id) } it ".entry('#{input}').value should return \"#{expected}\"" do expect(instance.entry(input).value).to eq(expected) end end end end end end
Version data entries
6 entries across 6 versions & 2 rubygems