Sha256: 1f26b28f5b02e3a6628c54cb7e186d493ae797923a4bae7cfcacf396a773d82c

Contents?: true

Size: 293 Bytes

Versions: 2

Compression:

Stored size: 293 Bytes

Contents

require 'spec_helper'

describe FcrepoAdmin::ObjectsController do
  context "#show" do
    subject { get :show, :id => object, :use_route => 'fcrepo_admin' }
    let(:object) { FactoryGirl.create(:content_model) }
    after { object.delete }
    it { should render_template(:show) }
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fcrepo_admin-0.3.0 spec/controllers/objects_controller_spec.rb
fcrepo_admin-0.2.4 spec/controllers/objects_controller_spec.rb