blob: 7b9f28f380843ec1d3eda9169d7c24b7ef491fca (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# frozen_string_literal: true
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
|