diff options
author | Michael Kozono <mkozono@gmail.com> | 2017-08-09 08:11:08 -0700 |
---|---|---|
committer | Michael Kozono <mkozono@gmail.com> | 2017-08-09 08:11:08 -0700 |
commit | 3d58e30b6b5b6bbd25fcb4f59650250ee9eb83fb (patch) | |
tree | 7f9739fbbad0380212fbb8db2e1d1aa4d91d8602 /spec/models/route_spec.rb | |
parent | f4ecbf16231de596eb9af0ef469087b90be5b83d (diff) | |
download | gitlab-ce-3d58e30b6b5b6bbd25fcb4f59650250ee9eb83fb.tar.gz |
Diffstat (limited to 'spec/models/route_spec.rb')
-rw-r--r-- | spec/models/route_spec.rb | 6 |
1 files 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 |