spec/lita/handlers/info_spec.rb in lita-4.5.0 vs spec/lita/handlers/info_spec.rb in lita-4.6.0
- old
+ new
@@ -37,10 +37,10 @@
expect(json).to include("lita_version" => Lita::VERSION)
end
it "includes the adapter being used" do
subject.web(request, response)
- expect(json).to include("adapter" => Lita.config.robot.adapter.to_s)
+ expect(json).to include("adapter" => registry.config.robot.adapter.to_s)
end
it "includes the robot's name" do
subject.web(request, response)
expect(json).to include("robot_name" => robot.name)