Sha256: 45f0e35ed89270a27426f337b037262c14c72028ac7fd628aec5bb27b7e2e027
Contents?: true
Size: 470 Bytes
Versions: 59
Compression:
Stored size: 470 Bytes
Contents
require 'spec_helper' describe "manifestations/show" do fixtures :all before(:each) do @manifestation = 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
59 entries across 59 versions & 3 rubygems