Use rspec 'be'

This commit is contained in:
Jacob Vosmaer 2017-04-28 12:29:15 +02:00
parent 106f3db9bb
commit 628163b1b3
1 changed files with 1 additions and 1 deletions

View File

@ -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}")