Sha256: 4e80cf985e081bb46716530d00c39b2b858007a159fa5c0bd11f0264c7a66378
Contents?: true
Size: 813 Bytes
Versions: 3
Compression:
Stored size: 813 Bytes
Contents
# File: eo-line_spec.rb require_relative '../../spec_helper' # Load the classes under test require_relative '../../../lib/macros4cuke/templating/eo-line' module Macros4Cuke module Templating # Open this namespace to get rid of module qualifier prefixes describe EOLine do subject { EOLine.new } context 'Creation and initialization:' do it 'should be created without argument' do expect { EOLine.new }.not_to raise_error end end # context context 'Provided services:' do it 'should render a new line' do context = double('fake_context') locals = double('fake_locals') expect(subject.render(context, locals)).to eq("\n") end end # context end # describe end # module end # module # End of file
Version data entries
3 entries across 3 versions & 1 rubygems