Sha256: 45f0e35ed89270a27426f337b037262c14c72028ac7fd628aec5bb27b7e2e027

Contents?: true

Size: 470 Bytes

Versions: 59

Compression:

Stored size: 470 Bytes

Contents

require 'spec_helper'

describe "manifestations/show" do
  fixtures :all

  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

59 entries across 59 versions & 3 rubygems

Version Path
enju_grid-0.1.1 spec/views/manifestations/show.html.erb_spec.rb
enju_grid-0.1.0 spec/views/manifestations/show.html.erb_spec.rb
enju_grid-0.1.0.pre1 spec/views/manifestations/show.html.erb_spec.rb
enju_flower-0.1.0.pre22 spec/views/manifestations/show.html.erb_spec.rb
enju_flower-0.1.0.pre21 spec/views/manifestations/show.html.erb_spec.rb
enju_flower-0.1.0.pre20 spec/views/manifestations/show.html.erb_spec.rb
enju_flower-0.1.0.pre19 spec/views/manifestations/show.html.erb_spec.rb
enju_flower-0.1.0.pre18 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.1.0.pre56 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.1.0.pre55 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.1.0.pre54 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.1.0.pre53 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.1.0.pre52 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.1.0.pre51 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.1.0.pre50 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.1.0.pre49 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.1.0.pre48 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.1.0.pre47 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.1.0.pre46 spec/views/manifestations/show.html.erb_spec.rb
enju_biblio-0.1.0.pre45 spec/views/manifestations/show.html.erb_spec.rb