From 3d58e30b6b5b6bbd25fcb4f59650250ee9eb83fb Mon Sep 17 00:00:00 2001 From: Michael Kozono Date: Wed, 9 Aug 2017 08:11:08 -0700 Subject: Fix style --- spec/models/route_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/models/route_spec.rb b/spec/models/route_spec.rb index 42c2104ceb8..fece370c03f 100644 --- a/spec/models/route_spec.rb +++ b/spec/models/route_spec.rb @@ -151,7 +151,7 @@ describe Route do it 'deletes the redirect' do expect do route.delete_conflicting_redirects - end.to change{RedirectRoute.count}.by(-1) + end.to change { RedirectRoute.count }.by(-1) end context 'when redirect routes with paths descending from the route path exists' do @@ -163,7 +163,7 @@ describe Route do it 'deletes all redirects with paths that descend from the route path' do expect do route.delete_conflicting_redirects - end.to change{RedirectRoute.count}.by(-4) + end.to change { RedirectRoute.count }.by(-4) end end end @@ -174,7 +174,7 @@ describe Route do it 'deletes the redirect' do expect do route.delete_conflicting_redirects - end.to change{RedirectRoute.count}.by(-1) + end.to change { RedirectRoute.count }.by(-1) end end end -- cgit v1.2.1