Sha256: 4c3ea2fb0f695a54c6b8a326d3f5ca6c0304643c497784af32ff9b05386048c4
Contents?: true
Size: 453 Bytes
Versions: 14
Compression:
Stored size: 453 Bytes
Contents
require 'spec_helper' describe "manifestations/show" do 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
14 entries across 14 versions & 1 rubygems