Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Vosmaer <jacob@gitlab.com>2017-04-28 13:29:15 +0300
committerJacob Vosmaer <jacob@gitlab.com>2017-04-28 13:29:15 +0300
commit628163b1b3b9a749568c9516365c3a87e3f98239 (patch)
treeac979a143217781c41c469b6b6d18779b334d325 /spec/unicorn
parent106f3db9bb05244139ac530fcfe17c13b221d3aa (diff)
Use rspec 'be'
Diffstat (limited to 'spec/unicorn')
-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}")