lib/spec/matchers.rb in coach-0.2.2 vs lib/spec/matchers.rb in coach-0.2.3

- old
+ new

@@ -14,10 +14,10 @@ config[:callback].call if config.include?(:callback) log_metadata(Hash[name.to_sym, true]) # Build up a list of middleware called, in the order they were called if next_middleware - [name].concat(next_middleware.call) + [name + config.except(:callback).inspect.to_s].concat(next_middleware.call) else [name] end end end