Sha256: 35ce4df7a814e00d8ab115a4f51c15129050b8daa46e8324a098bab6033dccc3
Contents?: true
Size: 364 Bytes
Versions: 14
Compression:
Stored size: 364 Bytes
Contents
require 'spec_helper' describe "entities/new.html.erb" do before(:each) do assign(:entity, stub_model(Entity).as_new_record) end it "renders new entity form" do render # Run the generator again with the --webrat flag if you want to use webrat matchers assert_select "form", :action => entities_path, :method => "post" do end end end
Version data entries
14 entries across 11 versions & 1 rubygems