httpotemkin 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/containers/client/Dockerfile +4 -0
- data/lib/test.rb +4 -0
- data/lib/version.rb +1 -1
- data/spec/system/client_spec.rb +9 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d346656643300dfe4af065152bdf110f7ed3c1dd
|
4
|
+
data.tar.gz: aa3c3f535945b1a7c70e3838317f4a7bf3154c2d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd8c1fe49944320570bc0cc8a6a3ceabeda42e496f8d9a433253d6d36e1cf4bebebe572a90a2326f38debc0335505548b1f97f1533112b93fc08cab71e844adf
|
7
|
+
data.tar.gz: 9cde05e2d38d56c977b90204eed7a3b26f0ffd5cae3b458f280a0a9bb9b3c7d6150a9e1af74979dd49a94b59b968ceccd53e976106e81291c4c32986c0ffa5ed
|
data/CHANGELOG.md
CHANGED
@@ -27,4 +27,8 @@ RUN mkdir /root/.gem
|
|
27
27
|
RUN echo ":rubygems_api_key: 123" >/root/.gem/credentials
|
28
28
|
RUN chmod 0600 /root/.gem/credentials
|
29
29
|
|
30
|
+
# Configuration for git
|
31
|
+
RUN git config --global user.email "hw@example.com"
|
32
|
+
RUN git config --global user.name "Hans Wurst"
|
33
|
+
|
30
34
|
CMD /run_test.rb
|
data/lib/test.rb
CHANGED
data/lib/version.rb
CHANGED
data/spec/system/client_spec.rb
CHANGED
@@ -82,4 +82,13 @@ describe "client" do
|
|
82
82
|
expect(client.err).to eq("ls: cannot access iamnothere: No such file or directory\n")
|
83
83
|
end
|
84
84
|
end
|
85
|
+
|
86
|
+
it "starts and stops the client container" do
|
87
|
+
out = double
|
88
|
+
allow(out).to receive(:puts)
|
89
|
+
|
90
|
+
test = Httpotemkin::Test.new(out: out)
|
91
|
+
test.start_client
|
92
|
+
test.stop_client
|
93
|
+
end
|
85
94
|
end
|