Package not found. Please check the package name and try again.

botspec 0.4.8 → 0.4.9

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fc357a207644c8c8ef382261d1512e103ddaf6e0
4
- data.tar.gz: bf1323c8435d3d2bdb76c5934fe788c7697eac1e
3
+ metadata.gz: cbd692787dd9635586ffac7978dc137c978c24e5
4
+ data.tar.gz: 455617f8f2ea6e0d373f76d6c2ddb3ef2a0d7eb1
5
5
  SHA512:
6
- metadata.gz: 619dad5a41d2fa06a82b12717fe77af57fbb97e07baedb72ac70d4d5f1049816b20d076bcd0df0fb669b2bfa9586b15c1910440eaddf5c307ac558397288d704
7
- data.tar.gz: 10a422f9bfd5d3a6b4e7e8208220897f9142794cf453d91cb0235319ed2071cf2c4a61064480c5079112a41d753b4da817875ac5574dd2f422ea10232d0e500a
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 AWS_ACCESS_KEY_ID -e AWS_SECRET_ACCESS_KEY -v `pwd`:/app/bot/specs -it botspec thor cli:verify -f specs/simple_dialog.yaml
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
@@ -1,3 +1,3 @@
1
1
  module Botspec
2
- VERSION = "0.4.8"
2
+ VERSION = "0.4.9"
3
3
  end
@@ -65,10 +65,10 @@ class Dialog
65
65
  @@lex_chat = lex_chat()
66
66
  spec = ::RSpec.describe "#{@describe} #{@name}" do
67
67
 
68
- it interactions[0] do
69
- resp = @@lex_chat.post_message(interactions[0], 'user_id')
68
+ let(:resp) { @@lex_chat.post_message(interactions[0], 'user_id')}
70
69
 
71
- expect(resp[:message]).to eql(interactions[1])
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.8
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-06-29 00:00:00.000000000 Z
11
+ date: 2019-07-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec