Sha256: 0d24d6567a77eed61d62eb38a5b3d336e39796913a11cfd4dd372fd505c28cd7

Contents?: true

Size: 338 Bytes

Versions: 3

Compression:

Stored size: 338 Bytes

Contents

require 'spec_helper'

describe "owns/show" do
  before(:each) do
    @own = assign(:own, stub_model(Own,
      :item_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(/1/)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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