Sha256: 1613518125fd045c8ed76853c27dabced153a81c6b61fbed0fa0c7253e34e3a8

Contents?: true

Size: 461 Bytes

Versions: 86

Compression:

Stored size: 461 Bytes

Contents

require 'spec_helper'

describe "accepts/edit" do
  before(:each) do
    @accept = assign(:accept, stub_model(Accept,
      :item_id => 1
    ))
  end

  it "renders the edit accept form" do
    render

    # Run the generator again with the --webrat flag if you want to use webrat matchers
    assert_select "form", :action => accepts_path(@accept), :method => "post" do
      assert_select "input#accept_item_id", :name => "accept[item_id]"
    end
  end
end

Version data entries

86 entries across 86 versions & 3 rubygems

Version Path
enju_biblio-0.1.0.pre5 spec/views/accepts/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre4 spec/views/accepts/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre3 spec/views/accepts/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre2 spec/views/accepts/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre spec/views/accepts/edit.html.erb_spec.rb
enju_circulation-0.0.71 spec/views/accepts/edit.html.erb_spec.rb
enju_circulation-0.0.70 spec/views/accepts/edit.html.erb_spec.rb
enju_circulation-0.0.69 spec/views/accepts/edit.html.erb_spec.rb
enju_circulation-0.0.68 spec/views/accepts/edit.html.erb_spec.rb
enju_circulation-0.0.67 spec/views/accepts/edit.html.erb_spec.rb
enju_circulation-0.0.66 spec/views/accepts/edit.html.erb_spec.rb
enju_circulation-0.0.65 spec/views/accepts/edit.html.erb_spec.rb
enju_circulation-0.0.64 spec/views/accepts/edit.html.erb_spec.rb
enju_circulation-0.0.63 spec/views/accepts/edit.html.erb_spec.rb
enju_circulation-0.0.62 spec/views/accepts/edit.html.erb_spec.rb
enju_circulation-0.0.61 spec/views/accepts/edit.html.erb_spec.rb
enju_circulation-0.0.60 spec/views/accepts/edit.html.erb_spec.rb
enju_circulation-0.0.59 spec/views/accepts/edit.html.erb_spec.rb
enju_circulation-0.0.58 spec/views/accepts/edit.html.erb_spec.rb
enju_circulation-0.0.57 spec/views/accepts/edit.html.erb_spec.rb