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_library-0.2.0.beta.8 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.2.0.beta.7 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.2.0.beta.6 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.2.0.beta.5 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.2.0.beta.4 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.2.0.beta.3 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.2.0.beta.2 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.2.0.beta.1 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.1.2 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.1.1 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.1.0 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.1.0.pre45 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.1.0.pre44 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.1.0.pre43 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.1.0.pre42 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.1.0.pre41 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.1.0.pre40 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.1.0.pre39 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.1.0.pre38 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.1.0.pre37 spec/views/accepts/edit.html.erb_spec.rb