Sha256: 5a909b06f1c76dc3b37cd99f7d14f4d3649da06cda68c0d79b3a4f8974a0275d
Contents?: true
Size: 518 Bytes
Versions: 5
Compression:
Stored size: 518 Bytes
Contents
require 'spec_helper' describe Rack::DevMark::Title do it_behaves_like "theme" do let (:out) { %Q~<html><head>head<title>(env) title</title></head><body>body</body></html>~ } subject { Rack::DevMark::Title.new } end context "no title tag" do let (:src) { %Q~<html><head>head</head><body>body</body></html>~ } let (:out) { %Q~<html><head>head</head><body>body</body></html>~ } it "does not insert anything" do expect(subject.insert_into(src, 'env', 'rev')).to eq(src) end end end
Version data entries
5 entries across 5 versions & 1 rubygems