Sha256: a9afc8a47855b85148a3cff4d384d1c30940206beff0d78e85d8cf00e8dd274e

Contents?: true

Size: 388 Bytes

Versions: 6

Compression:

Stored size: 388 Bytes

Contents

# -*- encoding: utf-8 -*-
require 'spec_helper'

describe CiniiBook do
  fixtures :all

  Manifestation.enju_nii_cinii_books

  it "should search bibliographic records", :vcr => true do
    CiniiBook.search("library system")[:total_entries].should eq 3141
  end

  it "should import a bibliographic record", :vcr => true do
    CiniiBook.import_ncid("BA85746967").should be_nil
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
enju_nii-0.1.0.pre10 spec/models/cinii_book_spec.rb
enju_nii-0.1.0.pre9 spec/models/cinii_book_spec.rb
enju_nii-0.1.0.pre8 spec/models/cinii_book_spec.rb
enju_nii-0.1.0.pre7 spec/models/cinii_book_spec.rb
enju_nii-0.1.0.pre6 spec/models/cinii_book_spec.rb
enju_nii-0.1.0.pre5 spec/models/cinii_book_spec.rb