Sha256: e8981951fbbb7912ee10797e53384b8ead4e58f54eff285f987725c942d98cc5

Contents?: true

Size: 552 Bytes

Versions: 1

Compression:

Stored size: 552 Bytes

Contents

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

describe CatalogController do
  describe "endnote" do
    before do
      SolrDocument.use_extension( Blacklight::Solr::Document::Marc )
    end
    render_views
    it "should render endnote" do
      get :endnote, params: { id: '86207417' }, format: 'endnote'
      expect(response.body).to eq "%0 Generic
%A Finkel, Chaim Jacob. 
%C Yerushalayim : 
%D c1984. 
%I Devir, 
%@ 9650101373 
%T Shodede-yam Yehudiyim : sipurim mafliʼim ha-mevusasim ʻal ʻuvdot hisṭoriyot /\n\n\n"
    end
  end


end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
blacklight-marc-6.3.0 spec/controllers/catalog_controller_spec.rb