botspec 0.4.8 → 0.4.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/botspec/version.rb +1 -1
- data/lib/load_dialogs.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cbd692787dd9635586ffac7978dc137c978c24e5
|
4
|
+
data.tar.gz: 455617f8f2ea6e0d373f76d6c2ddb3ef2a0d7eb1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7ba529d6d880b39bf624b5050f9dfed01f0dd0774fe8f19b508586a055c84071099a09acbb133883e909e3faf137e1dab1dee1ea195f89a5859299419a7a2d5
|
7
|
+
data.tar.gz: c9d667e8dc7dea179eb82c41242fe8fbd57d19dbd53d1a698f52cc4f73d5f1e27fcb559195c45fd85c1823b19ddadc04487493218797547f7085c76615dc0551
|
data/README.md
CHANGED
@@ -53,7 +53,7 @@ Should create a changelog record
|
|
53
53
|
## Docker
|
54
54
|
You can run the command with:
|
55
55
|
```
|
56
|
-
docker run -e AWS_REGION -e
|
56
|
+
docker run -e AWS_REGION -e AWS_DEFAULT_PROFILE -v $HOME/.aws/credentials:/root/.aws/credentials:ro -v `pwd`/specs:/app/bot/specs -it elliottmurray/botspec <botname> <relative path to fixture>
|
57
57
|
```
|
58
58
|
|
59
59
|
Assuming you are in your project root directory and your specs are in the corresponding specs folder
|
data/lib/botspec/version.rb
CHANGED
data/lib/load_dialogs.rb
CHANGED
@@ -65,10 +65,10 @@ class Dialog
|
|
65
65
|
@@lex_chat = lex_chat()
|
66
66
|
spec = ::RSpec.describe "#{@describe} #{@name}" do
|
67
67
|
|
68
|
-
|
69
|
-
resp = @@lex_chat.post_message(interactions[0], 'user_id')
|
68
|
+
let(:resp) { @@lex_chat.post_message(interactions[0], 'user_id')}
|
70
69
|
|
71
|
-
|
70
|
+
it interactions[0] do
|
71
|
+
expect(resp[:message]).to match(interactions[1])
|
72
72
|
end
|
73
73
|
end
|
74
74
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: botspec
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Elliott Murray
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-07-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rspec
|