get rid of RSpec deprecation warning
Using `should_not` from rspec-expectations' old `:should` syntax without explicitly enabling the syntax is deprecated. Use the new `:expect` syntax or explicitly enable `:should` with `config.expect_with(:rspec) { |c| c.syntax = :should }` instead. Called from /Users/foxy/src/Retrospring/retrospring/spec/controllers/well_known/node_info_controller_spec.rb:84:in `block (4 levels) in <top (required)>'.
This commit is contained in:
parent
b6121b16f0
commit
5c4ab05d4e
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue