spec/lita/handlers/info_spec.rb in lita-3.3.1 vs spec/lita/handlers/info_spec.rb in lita-4.0.0.rc1

- old
+ new

@@ -1,9 +1,9 @@ require "spec_helper" describe Lita::Handlers::Info, lita_handler: true do - it { routes_command("info").to(:chat) } - it { routes_http(:get, "/lita/info").to(:web) } + it { is_expected.to route_command("info").to(:chat) } + it { is_expected.to route_http(:get, "/lita/info").to(:web) } let(:request) { double("Rack::Request") } let(:response) { Rack::Response.new } describe "#chat" do