Sha256: e4e4258af52e6398d1df95c3cfa6024a8eb7b48032ead1ec458bb435485bbec6
Contents?: true
Size: 395 Bytes
Versions: 14
Compression:
Stored size: 395 Bytes
Contents
require 'spec_helper' module WLang describe Source, "template_content" do let(:source){ Source.new("Hello world") } subject{ source.with_front_matter(enabled) } context 'when enabled' do let(:enabled){ true } it { should be_a(Source::FrontMatter) } end context 'when disabled' do let(:enabled){ false } it { should eq(source) } end end end
Version data entries
14 entries across 14 versions & 1 rubygems