Sha256: adef83ac99d8925571274d05dc32cebaa65ceddc80b08b24b631c0f31e32acb2

Contents?: true

Size: 322 Bytes

Versions: 3

Compression:

Stored size: 322 Bytes

Contents

require 'spec_helper'
require 'yaml'

describe DPLibrary::Provider do
  subject { DPLibrary::Provider.new( YAML.load_file( './spec/fixtures/provider.yml' ) ) }

  context 'initialize' do
    its(:name) { should eql 'Biodiversity Heritage Library' }
    its(:id) { should eql 'http://dp.la/api/contributor/bhl' }
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
DPLibrary-0.0.5 spec/DPLibrary/provider_spec.rb
DPLibrary-0.0.4 spec/DPLibrary/provider_spec.rb
DPLibrary-0.0.3 spec/DPLibrary/provider_spec.rb