Sha256: 0821da2668c29e5e0b8efeeb8d7817d0ad084fad4efe35c40916d8657045ed7f
Contents?: true
Size: 328 Bytes
Versions: 7
Compression:
Stored size: 328 Bytes
Contents
require 'spec_helper' describe StaticBlocks::StaticBlocksHelper do before do s = StaticBlocks::StaticBlock.create!({"title" => "foo", "content" => "bar", "status" => "published"}) end describe "static_block helper" do it "should return content" do static_block_for("foo").should eq "bar" end end end
Version data entries
7 entries across 7 versions & 1 rubygems