Sha256: 9a1d2c0a28a7965114b7dc9b9139f169e49d03a4c415b558f63279a2238d2469

Contents?: true

Size: 347 Bytes

Versions: 18

Compression:

Stored size: 347 Bytes

Contents

# frozen_string_literal: true
require 'spec_helper'

describe RelationController, type: :controller do
  describe '#index' do
    it 'returns a listing of related documents for a record' do
      get :index, params: { id: 'nyu_2451_34502' }
      expect(response.status).to eq 200
      expect(assigns(:relations)).not_to be_nil
    end
  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
geoblacklight-3.8.1 spec/controllers/relation_controller_spec.rb
geoblacklight-3.8.0 spec/controllers/relation_controller_spec.rb
geoblacklight-3.7.0 spec/controllers/relation_controller_spec.rb
geoblacklight-4.0.0.pre.rc2 spec/controllers/relation_controller_spec.rb
geoblacklight-4.0.0.pre.rc1 spec/controllers/relation_controller_spec.rb
geoblacklight-3.6.0 spec/controllers/relation_controller_spec.rb
geoblacklight-3.5.0 spec/controllers/relation_controller_spec.rb
geoblacklight-4.0.0.pre.alpha.3 spec/controllers/relation_controller_spec.rb
geoblacklight-4.0.0.pre.alpha.2 spec/controllers/relation_controller_spec.rb
geoblacklight-4.0.0.pre.alpha.1 spec/controllers/relation_controller_spec.rb
geoblacklight-4.0.0.pre.alpha spec/controllers/relation_controller_spec.rb
geoblacklight-3.4.0 spec/controllers/relation_controller_spec.rb
geoblacklight-3.3.1 spec/controllers/relation_controller_spec.rb
geoblacklight-3.3.0 spec/controllers/relation_controller_spec.rb
geoblacklight-3.2.0 spec/controllers/relation_controller_spec.rb
geoblacklight-3.1.0 spec/controllers/relation_controller_spec.rb
geoblacklight-3.0.1 spec/controllers/relation_controller_spec.rb
geoblacklight-3.0.0 spec/controllers/relation_controller_spec.rb