Sha256: 47e308a0d5670b1c18fa33aa452e02695b73a73e1843a8cdc1606f00e3f582c7

Contents?: true

Size: 350 Bytes

Versions: 3

Compression:

Stored size: 350 Bytes

Contents

require 'spec_helper'

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