提交 628163b1 编写于 作者: J Jacob Vosmaer

Use rspec 'be'

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册