Sha256: cb5ce73846027f627baab5a88af4b27638c50c823a2f0667f9a622df162bfa96
Contents?: true
Size: 531 Bytes
Versions: 13
Compression:
Stored size: 531 Bytes
Contents
# -*- encoding: utf-8 -*- require 'spec_helper' describe "page/advanced_search" do fixtures :all before(:each) do assign(:libraries, Library.all) view.stub(:current_user).and_return(User.find('enjuadmin')) @ability = Object.new @ability.extend(CanCan::Ability) controller.stub(:current_ability) { @ability } end it "renders attributes in <p>" do render # Run the generator again with the --webrat flag if you want to use webrat matchers rendered.should match(/Advanced search/) end end
Version data entries
13 entries across 13 versions & 1 rubygems