Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorMichael Kozono <mkozono@gmail.com>2017-08-09 18:11:08 +0300
committerMichael Kozono <mkozono@gmail.com>2017-08-09 18:11:08 +0300
commit3d58e30b6b5b6bbd25fcb4f59650250ee9eb83fb (patch)
tree7f9739fbbad0380212fbb8db2e1d1aa4d91d8602 /spec
parentf4ecbf16231de596eb9af0ef469087b90be5b83d (diff)
Fix style
Diffstat (limited to 'spec')
-rw-r--r--spec/models/route_spec.rb6
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