Sha256: 48cae9d453aeef28825baea1dd9acd8b534bb0a876e4037e1cb4c68336e25e3d
Contents?: true
Size: 343 Bytes
Versions: 10
Compression:
Stored size: 343 Bytes
Contents
require 'spec_helper' describe "pages/new" do before(:each) do assign(:page, stub_model(Page).as_new_record) end it "renders new page form" do render # Run the generator again with the --webrat flag if you want to use webrat matchers assert_select "form", :action => pages_path, :method => "post" do end end end
Version data entries
10 entries across 10 versions & 1 rubygems