spec/lita/handlers/likeaboss_spec.rb in lita-likeaboss-1.0.2 vs spec/lita/handlers/likeaboss_spec.rb in lita-likeaboss-1.1.0
- old
+ new
@@ -1,8 +1,8 @@
require "spec_helper"
describe Lita::Handlers::Likeaboss, lita_handler: true do
- it { routes_command("like a boss").to(:like_a_boss) }
- it { routes_command("like a baws").to(:like_a_boss) }
- it { routes_command("boss").to(:like_a_boss) }
- it { routes_command("baws").to(:like_a_boss) }
+ it { is_expected.to route_command("like a boss").to(:like_a_boss) }
+ it { is_expected.to route_command("like a baws").to(:like_a_boss) }
+ it { is_expected.to route_command("boss").to(:like_a_boss) }
+ it { is_expected.to route_command("baws").to(:like_a_boss) }
end