Sha256: 339a139c105b68b295519ff5010e86c3f5453ae694339c331ed92f8aaa8f2c1a
Contents?: true
Size: 923 Bytes
Versions: 12
Compression:
Stored size: 923 Bytes
Contents
require File.join(File.dirname(__FILE__), "spec_helper") startup_merb describe Merb::AbstractController, " with capture and concat" do it "should support capture" do dispatch_should_make_body("Capture", "Capture") end it "should support capture with arguments" do dispatch_should_make_body("CaptureWithArgs", "Capture: one, two") end it "should support capturing the return value of a non-template block" do dispatch_should_make_body("CaptureReturnValue", "Capture") end it "should support capturing the return value of a non-template block" do dispatch_should_make_body("CaptureNonStringReturnValue", "Captured ''") end it "should support basic helpers that use capture with <%=" do dispatch_should_make_body("CaptureEq", "Pre. Beginning... Capturing... Done. Post.") end it "should support concat" do dispatch_should_make_body("Concat", "Concat") end end
Version data entries
12 entries across 6 versions & 1 rubygems