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

Fix style

parent f4ecbf16
......@@ -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
......
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