summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2017-04-28 12:29:15 +0200
committerJacob Vosmaer <jacob@gitlab.com>2017-04-28 12:29:15 +0200
commit628163b1b3b9a749568c9516365c3a87e3f98239 (patch)
treeac979a143217781c41c469b6b6d18779b334d325 /spec
parent106f3db9bb05244139ac530fcfe17c13b221d3aa (diff)
downloadgitlab-ce-628163b1b3b9a749568c9516365c3a87e3f98239.tar.gz
Use rspec 'be'
Diffstat (limited to 'spec')
-rw-r--r--spec/unicorn/unicorn_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unicorn/unicorn_spec.rb b/spec/unicorn/unicorn_spec.rb
index b473fa48392..1214bd96c0d 100644
--- a/spec/unicorn/unicorn_spec.rb
+++ b/spec/unicorn/unicorn_spec.rb
@@ -49,7 +49,7 @@ describe 'Unicorn' do
expect(response.status).to eq(200)
worker_pid = response.body.to_i
- expect(worker_pid > 0).to eq(true)
+ expect(worker_pid).to be > 0
begin
Excon.post('unix:///unicorn_test/kill', socket: @socket_path, body: "signal=#{signal}")