Sha256: cf5b548d440758b7dbeab49cf5df49d8ebdac2d73c66ac60bec547625c694e3b

Contents?: true

Size: 605 Bytes

Versions: 6

Compression:

Stored size: 605 Bytes

Contents

require File.join(File.dirname(__FILE__), "spec_helper")

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 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

6 entries across 6 versions & 3 rubygems

Version Path
thorero-0.9.4.5 spec/public/abstract_controller/helper_spec.rb
merb-core-0.9.4 spec/public/abstract_controller/helper_spec.rb
merb-core-0.9.5 spec/public/abstract_controller/helper_spec.rb
merb-core-0.9.6 spec/public/abstract_controller/helper_spec.rb
merb-core-0.9.7 spec/public/abstract_controller/helper_spec.rb
thorero-core-0.9.4.6 spec/public/abstract_controller/helper_spec.rb