blob: dc2aaa1eeca4f4e03314b2171dcb7b54b39f2ec8 (
plain)
1
2
3
4
5
6
7
8
9
|
RSpec.describe Pry::Config::LazyValue do
describe "#call" do
subject { described_class.new { rand } }
it "doesn't memoize the result of call" do
expect(subject.call).not_to eq(subject.call)
end
end
end
|