diff --git a/spec/rspec/core/configuration_spec.rb b/spec/rspec/core/configuration_spec.rb index 6c1692a100..2ea3622817 100644 --- a/spec/rspec/core/configuration_spec.rb +++ b/spec/rspec/core/configuration_spec.rb @@ -1300,12 +1300,11 @@ def metadata_hash(*args) end describe "#run_all_when_everything_filtered?" do - it "defaults to false" do expect(config.run_all_when_everything_filtered?).to be(false) end - it "can be queried with question method" do + it "can be queried by predicate method" do config.run_all_when_everything_filtered = true expect(config.run_all_when_everything_filtered?).to be(true) end