Sha256: 6699b3249bccfe07fb4e9258825f82c394f19e7d2287fb0852d3148f1270ebbb
Contents?: true
Size: 481 Bytes
Versions: 7
Compression:
Stored size: 481 Bytes
Contents
require 'spec_helper' describe RenderHelper do describe "#form_block" do context "no title" do it "renders the form_block partial" do helper.form_block { "hello" }.should match /hello/ end end context "with title" do it "renders the form_block partial" do formblock = helper.form_block("some title") { "blah blah" } formblock.should match /blah blah/ formblock.should match /some title/ end end end end
Version data entries
7 entries across 7 versions & 1 rubygems