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