Sha256: d6908bd9797929c25108d13967daab3e8d4e8c86d5205507cfd62462b46d19c1

Contents?: true

Size: 401 Bytes

Versions: 3

Compression:

Stored size: 401 Bytes

Contents

require 'spec_helper'

describe "produces/show" do
  before(:each) do
    @produce = assign(:produce, stub_model(Produce,
      :manifestation_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/produces/show.html.erb_spec.rb
enju_biblio-0.2.0.beta.2 spec/views/produces/show.html.erb_spec.rb
enju_biblio-0.2.0.beta.1 spec/views/produces/show.html.erb_spec.rb