Commit 3d58e30b authored by Michael Kozono's avatar Michael Kozono

Fix style

parent f4ecbf16
...@@ -151,7 +151,7 @@ describe Route do ...@@ -151,7 +151,7 @@ describe Route do
it 'deletes the redirect' do it 'deletes the redirect' do
expect do expect do
route.delete_conflicting_redirects route.delete_conflicting_redirects
end.to change{RedirectRoute.count}.by(-1) end.to change { RedirectRoute.count }.by(-1)
end end
context 'when redirect routes with paths descending from the route path exists' do context 'when redirect routes with paths descending from the route path exists' do
...@@ -163,7 +163,7 @@ describe Route do ...@@ -163,7 +163,7 @@ describe Route do
it 'deletes all redirects with paths that descend from the route path' do it 'deletes all redirects with paths that descend from the route path' do
expect do expect do
route.delete_conflicting_redirects route.delete_conflicting_redirects
end.to change{RedirectRoute.count}.by(-4) end.to change { RedirectRoute.count }.by(-4)
end end
end end
end end
...@@ -174,7 +174,7 @@ describe Route do ...@@ -174,7 +174,7 @@ describe Route do
it 'deletes the redirect' do it 'deletes the redirect' do
expect do expect do
route.delete_conflicting_redirects route.delete_conflicting_redirects
end.to change{RedirectRoute.count}.by(-1) end.to change { RedirectRoute.count }.by(-1)
end end
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment