Sha256: 38290eb076c07b0bfc8551a3ed61b1bb87ab3e71505a05ab93561a11cc4c75b8
Contents?: true
Size: 487 Bytes
Versions: 7
Compression:
Stored size: 487 Bytes
Contents
# -*- 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 <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
7 entries across 7 versions & 1 rubygems