Sha256: a131dc5781d7fd991b778c8d3629096973c7d6c993a35d7cb123c52033e093ce
Contents?: true
Size: 451 Bytes
Versions: 3
Compression:
Stored size: 451 Bytes
Contents
require 'spec_helper' describe "owns/new" do before(:each) do assign(:own, stub_model(Own, :item_id => 1, :agent_id => 1 ).as_new_record) end it "renders new own form" do render # Run the generator again with the --webrat flag if you want to use webrat matchers assert_select "form", :action => owns_path, :method => "post" do assert_select "input#own_item_id", :name => "own[item_id]" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
enju_biblio-0.2.0.beta.3 | spec/views/owns/new.html.erb_spec.rb |
enju_biblio-0.2.0.beta.2 | spec/views/owns/new.html.erb_spec.rb |
enju_biblio-0.2.0.beta.1 | spec/views/owns/new.html.erb_spec.rb |