Sha256: 90c63a25f11ca564ba1c4ab4987f951f420d9020c2a984f34281c9ae9accd8cb

Contents?: true

Size: 398 Bytes

Versions: 3

Compression:

Stored size: 398 Bytes

Contents

require 'spec_helper'

describe "realizes/show" do
  before(:each) do
    @realize = assign(:realize, stub_model(Realize,
      :expression_id => 1,
      :agent_id => 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(/#{Manifestation.find(1).original_title}/)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
enju_biblio-0.2.0.beta.3 spec/views/realizes/show.html.erb_spec.rb
enju_biblio-0.2.0.beta.2 spec/views/realizes/show.html.erb_spec.rb
enju_biblio-0.2.0.beta.1 spec/views/realizes/show.html.erb_spec.rb