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

Version Path
enju_biblio-0.1.0.pre63 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.1.0.pre62 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.1.0.pre61 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.1.0.pre60 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.1.0.pre59 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.1.0.pre58 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.1.0.pre57 spec/views/manifestations/show.html.erb_spec.rb