Sha256: 872a549d5466cca2fa27f2eb9abfaa6fd80c070455279d6cc31b4a3ebe7f6926
Contents?: true
Size: 487 Bytes
Versions: 13
Compression:
Stored size: 487 Bytes
Contents
# -*- encoding: utf-8 -*- require 'spec_helper' describe "page/about" do fixtures :all before(:each) do 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(/About this system/) end end
Version data entries
13 entries across 13 versions & 1 rubygems