cog-rb 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/cog/version.rb +1 -1
- data/lib/rspec/cog/setup.rb +4 -3
- 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: a9627fde94c9865e063c5f49cf0de68751f7e9de
|
4
|
+
data.tar.gz: c8c652c3ced6dc6d9b5dea11b8103b1629a743d3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4c1f0360004b838e0ffd3002b1cdd56c52ef3b6816e9530bb23e0cff73d68ae56b41f40110839a7c407abd862774c0bfbf55ecb8a4e749227b437e3924d04e8d
|
7
|
+
data.tar.gz: 8522d05aa0c2c5b9c6d471b75f0af6fc36fdf3d11d34e972a13bde62f815dbdb33b2eb0ed9588243b32d7ff4e08134addd6dd17c365dd9ca11395e137cd3f054
|
data/CHANGELOG.md
CHANGED
data/lib/cog/version.rb
CHANGED
data/lib/rspec/cog/setup.rb
CHANGED
@@ -63,11 +63,12 @@ module Cog::RSpec::Setup
|
|
63
63
|
options.each{|k,v| ENV["COG_OPT_#{k.upcase}"] = v.to_s}
|
64
64
|
end
|
65
65
|
|
66
|
-
# TODO: receive a single input on
|
66
|
+
# TODO: receive a single input on request(:input) and
|
67
|
+
# multiple for :fetch_input
|
67
68
|
|
68
|
-
# Expose previous inputs on
|
69
|
+
# Expose previous inputs on request.input
|
69
70
|
# We use allow because not all commands receive input
|
70
|
-
allow(
|
71
|
+
allow(command.request).to receive(:input).and_return(cog_env)
|
71
72
|
|
72
73
|
# Use allow because not all commands will need to do this
|
73
74
|
allow(command).to receive(:fetch_input).and_return(cog_env)
|