lita-onewheel-filmplot 0.0.1 → 0.0.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
  SHA256:
3
- metadata.gz: eccfc645e592808cbccb72678c943e55477eeb6e4b84b8d3efd88978d61d9157
4
- data.tar.gz: '00618bf6adba0604f253632dd7a6e43da101b4116ac247403f4529a7ea19c72c'
3
+ metadata.gz: 63fdf561eee692ec695744a1a6375546c0b1f3e1a7261432a7df6c786cc32d61
4
+ data.tar.gz: c69022b2f335234ba66257d15a2d16dea18b43d43ca489d7c510da6f6391ffdf
5
5
  SHA512:
6
- metadata.gz: 6f24dd2322e52dd4152116f64192dbf3871e0daf472357b5d380522d95d4d78ceed5acc1e2041d3412823f50d803ee6204831201f3169ff4492b3e901c42b178
7
- data.tar.gz: 78207ffe1f1a02a52a70987a1da7848b2c503f0f14ff9d1ddef3a042d26955fc082d6c022e070166cf73ea17691fdc4c3cd7f26b4187d88d6312bc48a49500ef
6
+ metadata.gz: dc3fd466097e604724a6d8594483cf4ae79f66be59785e1bf2621ae29d3fb201052aa74015fc8c5cee9b5b3c8e3de5414ad5c0b68d0ffcbee6d12c9a968e8ce3
7
+ data.tar.gz: 513019dcc5152680be0d8cfa7c1a0eb0061b34ee766e472ee3ca286650a38321a3c8cfc85b1956049da88fbf63b31c7f8ea6d22af85a4283e152d2672ec561ea
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'lita-onewheel-filmplot'
3
- spec.version = '0.0.1'
3
+ spec.version = '0.0.2'
4
4
  spec.authors = ['Andrew Kreps']
5
5
  spec.email = ['andrew.kreps@gmail.com']
6
6
  spec.description = 'Film plot retrieval bot.'
@@ -15,7 +15,15 @@ describe Lita::Handlers::OnewheelFilmplot, lita_handler: true do
15
15
  expect(replies.last).to eq "Based on a comic book story, this futuristic film follows the time-travel exploits of policeman Max Walker (Jean Claude Van Damme). In 1994, Walker's wife Melissa (Mia Sara) is about to tell him that she is expecting their first child when they are attacked by a group of criminals. Walker is shot and beaten and lies helplessly on his lawn while he sees their home and his wife blown up by the killers. Ten years later, Walker remains an employee of the Time Enforcement Commission, a federal agency which was set up in 1994 after the U.S. government learned that time travel technology is feasible. The commission's role is to prevent time travel to protect U.S. economic interests. Walker learns that the corrupt Senator McComb (Ron Silver), who helped establish the agency, is exploiting it for personal gain, trying to establish a monopoly on time travel so that he can enrich himself in the stock market. Walker travels back in time to stop McComb from murdering his former partner. At the same time, Walker hopes to rescue his wife, and he learns that the attack on his home was ordered by McComb to stop Walker from foiling his plans. ~ Michael Betzold, Rovi"
16
16
  end
17
17
 
18
- # it '404s' do
19
- # mock
18
+ # it 'should find infinity war by the wrong name' do
19
+ # mock('search')
20
+ # mock('infinity')
21
+ #
20
22
  # end
23
+
24
+ it '404s' do
25
+ allow(RestClient).to receive(:get).and_raise(RestClient::ResourceNotFound)
26
+ send_command('filmplot x')
27
+ expect(replies.last).to eq('x not found.')
28
+ end
21
29
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-onewheel-filmplot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kreps