diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2017-04-28 12:29:15 +0200 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2017-04-28 12:29:15 +0200 |
commit | 628163b1b3b9a749568c9516365c3a87e3f98239 (patch) | |
tree | ac979a143217781c41c469b6b6d18779b334d325 /spec | |
parent | 106f3db9bb05244139ac530fcfe17c13b221d3aa (diff) | |
download | gitlab-ce-628163b1b3b9a749568c9516365c3a87e3f98239.tar.gz |
Use rspec 'be'
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unicorn/unicorn_spec.rb | 2 |
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}") |