Sha256: 2b173af4c6803669d8ed152e07c14c3d8792659d0d2c2f507f7e9602bfcfb9f6
Contents?: true
Size: 834 Bytes
Versions: 43
Compression:
Stored size: 834 Bytes
Contents
require 'spec_helper' describe "series_has_manifestations/edit" do before(:each) do @series_has_manifestation = assign(:series_has_manifestation, stub_model(SeriesHasManifestation, :series_statement_id => 1, :manifestation_id => 1, :position => 1 )) end it "renders the edit series_has_manifestation form" do render # Run the generator again with the --webrat flag if you want to use webrat matchers assert_select "form", :action => series_has_manifestations_path(@series_has_manifestation), :method => "post" do assert_select "input#series_has_manifestation_series_statement_id", :name => "series_has_manifestation[series_statement_id]" assert_select "input#series_has_manifestation_manifestation_id", :name => "series_has_manifestation[manifestation_id]" end end end
Version data entries
43 entries across 43 versions & 1 rubygems