Sha256: 621e72aa2b058d7832fbe278f6106d09fec69f51986d396ec32f5728a5a92269
Contents?: true
Size: 649 Bytes
Versions: 3
Compression:
Stored size: 649 Bytes
Contents
require 'spec_helper' describe "realizes/edit" do fixtures :realize_types before(:each) do @realize = assign(:realize, stub_model(Realize, :expression_id => 1, :agent_id => 1 )) @realize_types = RealizeType.all end it "renders the edit realize form" do render # Run the generator again with the --webrat flag if you want to use webrat matchers assert_select "form", :action => realizes_path(@realize), :method => "post" do assert_select "input#realize_expression_id", :name => "realize[expression_id]" assert_select "input#realize_agent_id", :name => "realize[agent_id]" end end end
Version data entries
3 entries across 3 versions & 1 rubygems