Sha256: bc5f114257f70c072cd9bb3a2205ed010f8d4e264ff37b20ac15f135119c6d8a

Contents?: true

Size: 410 Bytes

Versions: 12

Compression:

Stored size: 410 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
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
blacklight-marc-8.0.0 spec/features/record_view_spec.rb
blacklight-marc-7.2.0 spec/features/record_view_spec.rb
blacklight-marc-7.1.1 spec/features/record_view_spec.rb
blacklight-marc-7.1.0 spec/features/record_view_spec.rb
blacklight-marc-7.0.1 spec/features/record_view_spec.rb
blacklight-marc-6.3.0 spec/features/record_view_spec.rb
blacklight-marc-7.0.0 spec/features/record_view_spec.rb
blacklight-marc-7.0.0.rc1 spec/features/record_view_spec.rb
blacklight-marc-6.2.0 spec/features/record_view_spec.rb
blacklight-marc-6.1.1 spec/features/record_view_spec.rb
blacklight-marc-6.1.0 spec/features/record_view_spec.rb
blacklight-marc-6.0.0 spec/features/record_view_spec.rb