Sha256: bfec0b8ee794310d233185cbd2846baa043ac27b184966d166b5a45762f0f90b
Contents?: true
Size: 542 Bytes
Versions: 13
Compression:
Stored size: 542 Bytes
Contents
# -*- encoding: utf-8 -*- require 'spec_helper' describe "page/opensearch" do fixtures :all before(:each) do assign(:library_group, LibraryGroup.site_config) view.stub(:current_user).and_return(User.find('enjuadmin')) @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(/Library Catalog/) end end
Version data entries
13 entries across 13 versions & 1 rubygems