Sha256: c4013cc88191fd6b1dbaf580616dba0e095ba2ff8a51f442b164b848d49eb92d

Contents?: true

Size: 450 Bytes

Versions: 21

Compression:

Stored size: 450 Bytes

Contents

require 'rails_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

21 entries across 21 versions & 1 rubygems

Version Path
enju_library-0.3.11 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.3.10 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.3.9 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.3.8 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.3.8.rc.2 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.3.8.rc.1 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.4.0.rc.1 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.3.7 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.3.6 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.4.0.beta.4 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.4.0.beta.3 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.4.0.beta.2 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.4.0.beta.1 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.3.5 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.3.4 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.3.3 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.3.2 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.3.1 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.3.0 spec/views/accepts/edit.html.erb_spec.rb
enju_library-0.3.0.rc.1 spec/views/accepts/edit.html.erb_spec.rb