Sha256: 4dee4db3beaf791253ccbe72df3174cb4b6d42d302854ea0f7ea71bf55523135
Contents?: true
Size: 813 Bytes
Versions: 34
Compression:
Stored size: 813 Bytes
Contents
require 'spec_helper' describe "series_statement_relationships/edit" do before(:each) do @series_statement_relationship = assign(:series_statement_relationship, stub_model(SeriesStatementRelationship, :parent_id => 1, :child_id => 1 )) end it "renders the edit series_statement_relationship form" do render # Run the generator again with the --webrat flag if you want to use webrat matchers assert_select "form", :action => series_statement_relationships_path(@series_statement_relationship), :method => "post" do assert_select "input#series_statement_relationship_parent_id", :name => "series_statement_relationship[parent_id]" assert_select "input#series_statement_relationship_child_id", :name => "series_statement_relationship[child_id]" end end end
Version data entries
34 entries across 34 versions & 1 rubygems