Formatting

Formatting

From 8b6591a481e6ced4aca5189f1168a7fe5453e6cf Mon Sep 17 00:00:00 2001
From: Ben Langfeld <blangfeld@powerhrg.com>
Date: Wed, 28 Nov 2018 16:00:59 -0200
Subject: [PATCH] Formatting


diff --git a/spec/lib/message_bus/rack/middleware_spec.rb b/spec/lib/message_bus/rack/middleware_spec.rb
index ef823f3..70a1289 100644
--- a/spec/lib/message_bus/rack/middleware_spec.rb
+++ b/spec/lib/message_bus/rack/middleware_spec.rb
@@ -112,16 +112,14 @@ describe MessageBus::Rack::Middleware do
   end
 
   describe "start listener" do
-    let(:app) { ->(_){ [200, {}, []] } }
-
+    let(:app) { ->(_) { [200, {}, []] } }
 
     it "never subscribes" do
       bus = Minitest::Mock.new
       bus.expect(:off?, true)
 
-      MessageBus::Rack::Middleware.new(app,message_bus: bus)
+      MessageBus::Rack::Middleware.new(app, message_bus: bus)
     end
-
   end
 
   describe "diagnostics" do

GitHub