spec/macros4cuke/formatter/to-gherkin_spec.rb in macros4cuke-0.5.07 vs spec/macros4cuke/formatter/to-gherkin_spec.rb in macros4cuke-0.5.08

- old
+ new

@@ -12,14 +12,11 @@ require_relative '../../../lib/macros4cuke/formatting-service' # Load the class under test require_relative '../../../lib/macros4cuke/formatter/to-gherkin' module Macros4Cuke - module Formatter # Open this namespace to get rid of module qualifier prefixes - - describe ToGherkin do include UseSampleCollection # Add convenience methods for sample collection let(:destination) { StringIO.new } @@ -33,16 +30,14 @@ macro_coll.clear end context 'Creation and initialization:' do - it 'should be created with an IO object' do an_io = StringIO.new expect { ToGherkin.new(an_io) }.not_to raise_error end - end # context context 'Provided services:' do # Default instantiation rule subject { ToGherkin.new(destination) } @@ -115,15 +110,11 @@ actual_lines.map!(&:strip) expected_lines.map!(&:strip) expect(actual_lines).to eq(expected_lines) end - end # context - end # describe - end # module - end # module # End of file