lita-vader 0.1.1 → 0.1.2
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/lib/lita/handlers/vader.rb +1 -1
- data/lita-vader.gemspec +1 -1
- data/spec/lita/handlers/vader_spec.rb +5 -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: 7be16b8a4501930a3f62ce7256dbce1590984563
|
4
|
+
data.tar.gz: fd6164f2f6f9babbd6561b787067b792ceb5039d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a118529962dc8d9842a256ca88879c8a53b776bd1df65a14edf919ecfbec23554cda45c842b820d446a6cd86cd4c50e59df96813fdeefd5fbba04b9140136939
|
7
|
+
data.tar.gz: 3f8616899afa0a9ff782149b182781bac4102d955d97f5c69d3d293e41b77dadfb45b4885af2b538406798be1fcf74b2a1770c80836b93ca227f9c1141743e33
|
data/lib/lita/handlers/vader.rb
CHANGED
data/lita-vader.gemspec
CHANGED
@@ -2,10 +2,14 @@ require "spec_helper"
|
|
2
2
|
|
3
3
|
describe Lita::Handlers::Vader, lita_handler: true do
|
4
4
|
|
5
|
-
it 'routes questions
|
5
|
+
it 'routes questions with normal quotes' do
|
6
6
|
expect(subject).to route_command("who is Luke's father?").to(:father)
|
7
7
|
end
|
8
8
|
|
9
|
+
it 'routes questions with fancy quotes' do
|
10
|
+
expect(subject).to route_command("who is Luke’s father?").to(:father)
|
11
|
+
end
|
12
|
+
|
9
13
|
describe 'father' do
|
10
14
|
it "explains who a user's father is" do
|
11
15
|
send_command("who is Luke's father?")
|