Sha256: ad7e8c6d600c9c8e6e749f97b1fc02d3715fba59a208f3f41bb7c59e8b07ed95
Contents?: true
Size: 648 Bytes
Versions: 9
Compression:
Stored size: 648 Bytes
Contents
# -*- encoding: utf-8 -*- require 'rails_helper' describe ImportRequest do fixtures :all context "import" do it "should import bibliographic record", :vcr => true do old_count = Manifestation.count import_request = ImportRequest.create(:isbn => '9784797350999') import_request.import! Manifestation.count.should eq old_count + 1 end end end # == Schema Information # # Table name: import_requests # # id :integer not null, primary key # isbn :string # manifestation_id :integer # user_id :integer # created_at :datetime # updated_at :datetime #
Version data entries
9 entries across 8 versions & 2 rubygems