diff --git a/spec/controllers/well_known/node_info_controller_spec.rb b/spec/controllers/well_known/node_info_controller_spec.rb index e5e8a009..ad6a8dce 100644 --- a/spec/controllers/well_known/node_info_controller_spec.rb +++ b/spec/controllers/well_known/node_info_controller_spec.rb @@ -81,7 +81,7 @@ describe WellKnown::NodeInfoController do it "includes Twitter in outbound services" do subject parsed = JSON.parse(response.body) - parsed.dig("services", "outbound").should_not include("twitter") + expect(parsed.dig("services", "outbound")).to_not include("twitter") end end