Sha256: 8f09d3c5e5c795782604fdec1707606df9b0f1ca50287a6a184eb9de3c8924e9

Contents?: true

Size: 559 Bytes

Versions: 3

Compression:

Stored size: 559 Bytes

Contents

require 'spec_helper'

RSpec.describe NewspaperWorks::Configuration do
  subject { described_class.new }

  it { is_expected.to respond_to(:publication_unique_id_property) }
  it { is_expected.to respond_to(:publication_unique_id_field) }

  describe '#publicationunique_id_property' do
    subject { described_class.new.publication_unique_id_property }
    it { is_expected.to eq(:lccn) }
  end

  describe '#publication_unique_id_field' do
    subject { described_class.new.publication_unique_id_field }
    it { is_expected.to eq('lccn_tesim') }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
newspaper_works-1.0.1 spec/lib/newspaper_works/configuration_spec.rb
newspaper_works-1.0.0 spec/lib/newspaper_works/configuration_spec.rb
newspaper_works-0.1.0 spec/lib/newspaper_works/configuration_spec.rb