Commit 628163b1 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Use rspec 'be'

parent 106f3db9
......@@ -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}")
......
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