Skip to content

Commit

Permalink
Merge pull request #2760 from rspec/improve-wording
Browse files Browse the repository at this point in the history
Refer to predicate as predicate
  • Loading branch information
pirj authored and JonRowe committed Sep 30, 2020
1 parent e6455b9 commit 7c6fc73
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spec/rspec/core/configuration_spec.rb
Expand Up @@ -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
Expand Down

0 comments on commit 7c6fc73

Please sign in to comment.