Sha256: 03d681aa71ffcac47a9ee4e375901891d40457a68356c6685d810c3585d52b50
Contents?: true
Size: 513 Bytes
Versions: 51
Compression:
Stored size: 513 Bytes
Contents
require 'spec_helper' describe "realizes/show" do before(:each) do @realize = assign(:realize, stub_model(Realize, :expression_id => 1, :patron_id => 1 )) @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(/#{Manifestation.find(1).original_title}/) end end
Version data entries
51 entries across 51 versions & 1 rubygems