Sha256: c6c11b5cd8adcada693a6074db7ac3a36f13da011409631176703c8fdb91195d
Contents?: true
Size: 330 Bytes
Versions: 28
Compression:
Stored size: 330 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.must_equal 'root' body("").must_equal 'root' body("a").must_equal 'notroot' end end
Version data entries
28 entries across 28 versions & 1 rubygems