Sha256: 48be0b7333b016ea541dc745c5fbf29669beccc5a28879a7b7581688f14d3ed0
Contents?: true
Size: 511 Bytes
Versions: 13
Compression:
Stored size: 511 Bytes
Contents
# -*- encoding: utf-8 -*- require 'spec_helper' describe "page/index" do fixtures :all before(:each) do assign(:tags, Tag.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(/Catalog search/) end end
Version data entries
13 entries across 13 versions & 1 rubygems