fake_smith 0.0.2 → 0.0.3
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/README.md +6 -0
- data/lib/fake_smith/version.rb +1 -1
- data/lib/fake_smith.rb +1 -1
- 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: e0fe0a91d01cf07895686f40048a032b822d541f
|
4
|
+
data.tar.gz: 2413951b475eb74f0ce6874140bebc00b333f415
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6ea0e3010d46b29d8a3374bb57b9ecff723ff17130dbbdc319d0e0cbae50d4ebd9433a762f05fa4c15956c0d0b1b91ca7228bd8a0a96fb00f30aa1e17f51ab15
|
7
|
+
data.tar.gz: c7b32c0fd1cfd8ee509a090209ca3137a597c1e8b2f4afecfbc89e49318fa339bbd6de9de610547e115a9a5e3b7c9258c45cde05f436ca77d32a2feb9a825787
|
data/README.md
CHANGED
@@ -53,6 +53,12 @@ messages = FakeSmith.get_messsages("my_other_queue")
|
|
53
53
|
expect(messages.count).to eq(1)
|
54
54
|
```
|
55
55
|
|
56
|
+
**NOTE** If you run into an error stating `wrong number of arguments (0 for 1)`
|
57
|
+
when trying to `new` up your agent then you probably have a
|
58
|
+
`require 'smith/agent'` in your agent. This will overwrite the fake Smith
|
59
|
+
agent and thus the stubbing won't work. You do not need these requires
|
60
|
+
so you can just remove it and it should work fine.
|
61
|
+
|
56
62
|
## Contributing
|
57
63
|
|
58
64
|
1. Fork it ( https://github.com/[my-github-username]/fake_smith/fork )
|
data/lib/fake_smith/version.rb
CHANGED
data/lib/fake_smith.rb
CHANGED