Sha256: 307bad1780fcb30dcf70d997cc9d133c7815f2c02424fc99e191fc6f8d4d145e
Contents?: true
Size: 453 Bytes
Versions: 7
Compression:
Stored size: 453 Bytes
Contents
require 'spec_helper' describe "manifestations/show" do fixtures :all before(:each) do assign(:manifestation, FactoryGirl.create(:manifestation)) @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(/1/) end end
Version data entries
7 entries across 7 versions & 1 rubygems