We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3843daa commit ea1b3e2Copy full SHA for ea1b3e2
spec/rspec/core/example_spec.rb
@@ -742,13 +742,13 @@ def expect_pending_result(example)
742
ex = nil
743
744
RSpec.describe do
745
- let(:dbl) { double }
+ let(:the_dbl) { double }
746
747
ex = example do
748
- expect(dbl).to receive(:foo)
+ expect(the_dbl).to receive(:foo)
749
end
750
751
- after { dbl.foo }
+ after { the_dbl.foo }
752
end.run
753
754
expect(ex).to pass
0 commit comments