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

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