spec/lita/handlers/vader_spec.rb in lita-vader-0.1.1 vs spec/lita/handlers/vader_spec.rb in lita-vader-0.1.2

- old
+ new

@@ -1,10 +1,14 @@ require "spec_helper" describe Lita::Handlers::Vader, lita_handler: true do - it 'routes questions about fathers' do + it 'routes questions with normal quotes' do expect(subject).to route_command("who is Luke's father?").to(:father) + end + + it 'routes questions with fancy quotes' do + expect(subject).to route_command("who is Luke’s father?").to(:father) end describe 'father' do it "explains who a user's father is" do send_command("who is Luke's father?")