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

- old
+ new

@@ -10,13 +10,11 @@ require_relative '../../../lib/macros4cuke/formatting-service' # Load the class under test require_relative '../../../lib/macros4cuke/formatter/to-trace' module Macros4Cuke - module Formatter # Open this namespace to get rid of module qualifier prefixes - describe ToTrace do include UseSampleCollection # Add convenience methods for sample collection let(:destination) { StringIO.new } @@ -38,11 +36,10 @@ it 'should react to all the notifications' do instance = ToTrace.new(destination) expect(instance.implements).to eq(Formatter::AllNotifications) end - end # context context 'Provided services:' do # Default instantiation rule @@ -142,14 +139,11 @@ service.register(subject) expect { service.start!(macro_coll) }.not_to raise_error expect(subject.io.string).to eq(expected_trace) end end # context - end # describe - end # module - end # module # End of file