Sha256: 585fd84400980e8217d0758bbd38330a12852e38f2f42e351aa357bfafd396d2
Contents?: true
Size: 485 Bytes
Versions: 1
Compression:
Stored size: 485 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
outpost-cms-0.0.3 | spec/helpers/render_helper_spec.rb |