Sha256: 381e0f548cc00fdfddeb8a7edfdc8f3f53537a22a76ecd87d958ed4509731c09
Contents?: true
Size: 533 Bytes
Versions: 13
Compression:
Stored size: 533 Bytes
Contents
# -*- encoding: utf-8 -*- require 'spec_helper' describe "page/statistics" do fixtures :all before(:each) do @profile = assign(:profile, profiles(:admin)) 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(/Checkout/) end end
Version data entries
13 entries across 13 versions & 1 rubygems