Sha256: c3b4800180aa249099d044f38d3d72fe3f7becf2a44eb329db4a4f58384a517e

Contents?: true

Size: 700 Bytes

Versions: 43

Compression:

Stored size: 700 Bytes

Contents

require 'spec_helper'

describe "series_has_manifestations/show" do
  before(:each) do
    @series_has_manifestation = assign(:series_has_manifestation, stub_model(SeriesHasManifestation,
      :series_statement_id => 1,
      :manifestation_id => 1,
      :position => 1
    ))
  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/)
    # Run the generator again with the --webrat flag if you want to use webrat matchers
    rendered.should match(/1/)
    # Run the generator again with the --webrat flag if you want to use webrat matchers
    rendered.should match(/1/)
  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
enju_biblio-0.0.3 spec/views/series_has_manifestations/show.html.erb_spec.rb
enju_biblio-0.0.2 spec/views/series_has_manifestations/show.html.erb_spec.rb
enju_biblio-0.0.1 spec/views/series_has_manifestations/show.html.erb_spec.rb