Sha256: 58d901be4c2bb6d28e524f018ac584326276b5bce614e8a05d21b9757665e5e7
Contents?: true
Size: 543 Bytes
Versions: 1
Compression:
Stored size: 543 Bytes
Contents
# -*- encoding: utf-8 -*- require 'spec_helper' describe "manifestations/identify" do fixtures :all before(:each) do assign(:library_group, LibraryGroup.site_config) view.stub(:current_user).and_return(User.find('admin')) @ability = Object.new @ability.extend(CanCan::Ability) controller.stub(:current_ability) { @ability } end it "renders the XML template" do render # Run the generator again with the --webrat flag if you want to use webrat matchers rendered.should match(/enju_library/) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
enju_oai-0.1.0.pre15 | spec/views/manifestations/identify.oai.builder_spec.rb |