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

Version Path
enju_biblio-0.1.0.pre34 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre33 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre32 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre31 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre30 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre29 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre28 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre27 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre26 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre25 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre24 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre23 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre22 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre21 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre20 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre19 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre18 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre17 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre16 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre15 spec/views/series_has_manifestations/edit.html.erb_spec.rb