Sha256: e101d8afb5b08a371a530b8400bd3aff1027d429674d18bf0263b41731769954
Contents?: true
Size: 505 Bytes
Versions: 2
Compression:
Stored size: 505 Bytes
Contents
require 'spec_helper' require 'turnip_formatter/template/step_source' module TurnipFormatter class Template describe StepSource do let(:template) { ::TurnipFormatter::Template::StepSource } let(:source) { __FILE__ + ':1' } describe '.build' do subject { template.build(source) } it do should match '<pre class="source"><code class="ruby">' should match "require 'turnip_formatter/template/step_source'" end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
turnip_formatter-0.0.3 | spec/turnip_formatter/template/step_source_spec.rb |
turnip_formatter-0.0.2 | spec/turnip_formatter/template/step_source_spec.rb |