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

Version Path
enju_biblio-0.1.0.pre5 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.1.0.pre4 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.1.0.pre3 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.1.0.pre2 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.1.0.pre spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.0.9 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.0.8 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.0.7 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.0.6 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.0.5 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.0.4 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.0.3 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.0.2 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.0.1 spec/views/manifestations/show.html.erb_spec.rb