Sha256: c2d0b4aff8b91b34b9f1e7ada8a0558f972cc9e6de5d71bb4305bd8ee495f705
Contents?: true
Size: 503 Bytes
Versions: 7
Compression:
Stored size: 503 Bytes
Contents
require 'rails_helper' RSpec.describe IiifImagesController, type: :controller do fixtures :all describe 'GET show' do before(:each) do @manifestation = manifestations(:manifestation_00001) end describe 'When not logged in' do it 'assigns the requested agent as @agent' do get :show, params: { id: @manifestation.id }, format: :json expect(assigns(:manifestation)).to eq(@manifestation) expect(response).to be_successful end end end end
Version data entries
7 entries across 7 versions & 1 rubygems