Sha256: 28b5100019b5607ce6f9d47e814c41b52be146e303a9a76d58cde460d44f61f4
Contents?: true
Size: 523 Bytes
Versions: 64
Compression:
Stored size: 523 Bytes
Contents
require 'spec_helper' describe "exemplifies/show" do before(:each) do @exemplify = assign(:exemplify, stub_model(Exemplify, :manifestation_id => 1, :item_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
64 entries across 64 versions & 1 rubygems