poise-service-spechelper 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -1
- data/lib/poise_service/spec_helper/helper.rb +10 -0
- data/lib/poise_service/spec_helper/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6eaf1b7bf999acc1c0bd3fffc73c211c01c340e1
|
4
|
+
data.tar.gz: a122dd4c8af545f2151ac34e966576b05d76654a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd3bf17ad0641f4f991f686e9ade41c30bd2bdb41ded12c3ce348b7a8d58b92d038007f86ef69c22c431e35416207e453067e11d5b80abc5670d4c4a70991b71
|
7
|
+
data.tar.gz: fe8aa8cda094ec7288d188f4f5ed004050163b9824e6c09e37785064d84ca3d5e5e97f53e809d463de555e6a9aa71a0b2a651589e83bfea621ee54ae7184feee
|
data/README.md
CHANGED
@@ -2,7 +2,6 @@
|
|
2
2
|
|
3
3
|
[![Build Status](https://img.shields.io/travis/poise/poise-service-spechelper.svg)](https://travis-ci.org/poise/poise-service-spechelper)
|
4
4
|
[![Gem Version](https://img.shields.io/gem/v/poise-service-spechelper.svg)](https://rubygems.org/gems/poise-service-spechelper)
|
5
|
-
[![Code Climate](https://img.shields.io/codeclimate/github/poise/poise-service-spechelper.svg)](https://codeclimate.com/github/poise/poise-service-spechelper)
|
6
5
|
[![Gemnasium](https://img.shields.io/gemnasium/poise/poise-service-spechelper.svg)](https://gemnasium.com/poise/poise-service-spechelper)
|
7
6
|
[![License](https://img.shields.io/badge/license-Apache_2-blue.svg)](https://www.apache.org/licenses/LICENSE-2.0)
|
8
7
|
|
@@ -116,6 +116,16 @@ module PoiseService
|
|
116
116
|
its(:to_i) { is_expected.to eq json_http("http://localhost:#{base_port}/")['pid'] }
|
117
117
|
it { Process.kill(0, subject.to_i) }
|
118
118
|
end # /describe pid file
|
119
|
+
|
120
|
+
describe 'change service' do
|
121
|
+
describe port(base_port+5) do
|
122
|
+
it { is_expected.to_not be_listening }
|
123
|
+
end
|
124
|
+
|
125
|
+
describe port(base_port+6) do
|
126
|
+
it { is_expected.to be_listening }
|
127
|
+
end
|
128
|
+
end # /describe change service
|
119
129
|
end # /shared_examples a poise_service_test
|
120
130
|
end # /def install
|
121
131
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: poise-service-spechelper
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Noah Kantrowitz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-03
|
11
|
+
date: 2015-12-03 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A helper for testing poise-service providers.
|
14
14
|
email:
|
@@ -43,7 +43,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
43
43
|
version: '0'
|
44
44
|
requirements: []
|
45
45
|
rubyforge_project:
|
46
|
-
rubygems_version: 2.
|
46
|
+
rubygems_version: 2.4.8
|
47
47
|
signing_key:
|
48
48
|
specification_version: 4
|
49
49
|
summary: A helper for testing poise-service providers.
|