Sha256: 89bc1ae40e8433521b31d9c3986c8ff677a4526d31c3914f0e15bd1a7d7466bc
Contents?: true
Size: 342 Bytes
Versions: 2
Compression:
Stored size: 342 Bytes
Contents
require 'spec_helper' require 'yaml' require 'rspec/its' 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
DPLibrary-0.1.0 | spec/DPLibrary/provider_spec.rb |
DPLibrary-0.0.6 | spec/DPLibrary/provider_spec.rb |