From 7c6fc73708676c9927d1107b72ec0c02bdd33b4e Mon Sep 17 00:00:00 2001 From: Phil Pirozhkov Date: Fri, 4 Sep 2020 15:54:20 +0300 Subject: [PATCH] Merge pull request #2760 from rspec/improve-wording Refer to predicate as predicate --- spec/rspec/core/configuration_spec.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spec/rspec/core/configuration_spec.rb b/spec/rspec/core/configuration_spec.rb index 3f2430091a..f05b84f21a 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