Sha256: 30fd69d64de7306206665e8a836b93bf61c389cccfbd3f1af5805fae13ead35e

Contents?: true

Size: 606 Bytes

Versions: 5

Compression:

Stored size: 606 Bytes

Contents

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

describe "Record View" do
  describe "Tools" do
    it "should have a refworks link" do
      visit solr_document_path('2008305903')
      expect(page).to have_link "Export to Refworks"
      link = find_link("Export to Refworks")
      expect(link['href']).to include CGI.escape(solr_document_path('2008305903', format: :refworks_marc_txt))
    end

    it 'has an endnote link' do
      visit solr_document_path('2008305903')
      expect(page).to have_link "Export to EndNote", href: solr_document_path('2008305903', format: :endnote)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
blacklight-marc-8.1.4 spec/features/record_view_spec.rb
blacklight-marc-8.1.3 spec/features/record_view_spec.rb
blacklight-marc-8.1.2 spec/features/record_view_spec.rb
blacklight-marc-8.1.1 spec/features/record_view_spec.rb
blacklight-marc-8.1.0 spec/features/record_view_spec.rb