lita-onewheel-amazon-product 0.4.1 → 0.4.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e5da8ba0eac25f53bba9f98aaade8629399d59c3
|
4
|
+
data.tar.gz: d72144f2cfcea759719014c2d1f01d7f63fe9087
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8f62adc62955a72fa75e451cafb3ed90e0921b3b3f7989d30ee6b754e6839e4cffd5ea5096e02f85aa68e57372cf4df34dd70ef6fbefa0d5aadf29c1dd56c49
|
7
|
+
data.tar.gz: a77d25e321e357205df661101f0d39bd34358888b65cf2d2969d80ed368243185f124f3ea3287d475f4f6c8ba631944de76da8b967fd9ad9b6208dd9d1a54ff1
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = 'lita-onewheel-amazon-product'
|
3
|
-
spec.version = '0.4.
|
3
|
+
spec.version = '0.4.2'
|
4
4
|
spec.authors = ['Andrew Kreps']
|
5
5
|
spec.email = ['andrew.kreps@gmail.com']
|
6
6
|
spec.description = %q{Lita interface to post information about amazon products.}
|
@@ -47,4 +47,10 @@ describe Lita::Handlers::OnewheelAmazonProduct, lita_handler: true do
|
|
47
47
|
send_message ('http://www.amazon.com/dp/B0154LAIQU?psc=1')
|
48
48
|
expect(replies.last).to eq('$192.00 Infant Circumcision Trainer, White ')
|
49
49
|
end
|
50
|
+
|
51
|
+
it 'bails on no data' do
|
52
|
+
allow(RestClient).to receive(:get) { }
|
53
|
+
send_message('http://www.amazon.com/dp/B0154LAIQU?psc=1')
|
54
|
+
expect(replies.last).to eq nil
|
55
|
+
end
|
50
56
|
end
|