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.pre14 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre13 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre12 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre11 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre10 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre9 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre8 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre7 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre6 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre5 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre4 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre3 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre2 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.1.0.pre spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.0.9 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.0.8 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.0.7 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.0.6 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.0.5 spec/views/series_has_manifestations/edit.html.erb_spec.rb
enju_biblio-0.0.4 spec/views/series_has_manifestations/edit.html.erb_spec.rb