Sha256: 05437ad55f4ce9ca6a61dd02693b912c1da387822ec50267c6874a4774110b78
Contents?: true
Size: 327 Bytes
Versions: 5
Compression:
Stored size: 327 Bytes
Contents
require File.expand_path("spec_helper", File.dirname(File.dirname(__FILE__))) describe "empty_root plugin" do it "makes root match on emtpy path" do app(:empty_root) do |r| r.root{"root"} "notroot" end body.should == 'root' body("").should == 'root' body("a").should == 'notroot' end end
Version data entries
5 entries across 5 versions & 1 rubygems