# -*- encoding: utf-8 -*- require 'rails_helper' describe "page/configuration" 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
" do render # Run the generator again with the --webrat flag if you want to use webrat matchers rendered.should match(/Checkout/) end end